Crossfilter

对记录进行快速的 n 维过滤和分组。「Fast n-dimensional filtering and grouping of records.」

Github星跟踪图

Crossfilter

Crossfilter 是一个 JavaScript 库,用于在浏览器中探索大型多变量数据集。Crossfilter 支持极快(<30ms)的协调视图交互,即使是包含百万条或更多记录的数据集。

由于大多数交互只涉及单一维度,然后只对过滤值进行小幅调整,因此增量过滤和还原比从头开始要快得多。Crossfilter 使用排序索引(以及小技巧)来实现这一点,极大地提高了实时直方图和 top-K 列表的性能。Crossfilter 采用 Apache 许可协议

这是一个社区维护的原始 square/crossfilter 库的分叉。

想了解更多?请看 wiki

社区示例库

安装

这个包可以在 npm 中以 crossfilter2 为名找到。

npm install crossfilter2

开发

安装依赖项:

npm install

用 npm test 测试更改。使用 npm run build 进行构建以在浏览器中使用。你可能还想用 npm run benchmark 对你的改动进行基准测试。


主要指标

概览
名称与所有者crossfilter/crossfilter
主编程语言JavaScript
编程语言JavaScript (语言数: 1)
平台Linux, Mac, Windows
许可证Other
所有者活动
创建于2015-06-02 21:42:34
推送于2023-07-19 08:43:22
最后一次提交2022-08-25 00:51:57
发布数47
最新版本名称1.5.4 (发布于 2020-09-25 11:38:44)
第一版名称semver (发布于 2012-03-17 00:06:37)
用户参与
星数1.8k
关注者数59
派生数192
提交数271
已启用问题?
问题数101
打开的问题数23
拉请求数56
打开的拉请求数2
关闭的拉请求数27
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?

Crossfilter

Join the chat at https://gitter.im/crossfilter/crossfilter Test status via Travis CI CDNJS

Crossfilter is a JavaScript library for exploring large multivariate datasets in the browser. Crossfilter supports extremely fast (<30ms) interaction with coordinated views, even with datasets containing a million or more records.

Since most interactions only involve a single dimension, and then only small adjustments are made to the filter values, incremental filtering and reducing is significantly faster than starting from scratch. Crossfilter uses sorted indexes (and a few bit-twiddling hacks) to make this possible, dramatically increasing the perfor­mance of live histograms and top-K lists. Crossfilter is available under the Apache License.

This is a community-maintained fork of the original square/crossfilter library.

Want to learn more? See the wiki.

Installation

This package can be found under the name crossfilter2 in npm:

 npm install crossfilter2

Development

Install dependencies:

  • npm install
  • npm install -g browserify uglify-js

Test changes with npm test. Build with npm run build for use in the browser. You may also want to benchmark your changes with npm run benchmark.