# square/crossfilter

Fast n-dimensional filtering and grouping of records.

Repository: https://github.com/square/crossfilter
Canonical: https://ross.abutalabs.com/products/crossfilter
Homepage: https://square.github.com/crossfilter/
Language: JavaScript
License: NOASSERTION
License Family: other
Last push: 2026-03-04T22:45:24+00:00

## Health v2 (maintenance only)
Score: 54/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 70, release rhythm 8, longevity 100
- inputs: {"age_days": 5298, "days_push": 182, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 6189, forks 1268 (observed 2026-08-28T04:09:39.036535+00:00)

## What it is
Crossfilter is a JavaScript library for fast n-dimensional filtering and grouping of large multivariate datasets in the browser, using sorted indexes and incremental filtering to achieve sub-30ms interactions on millions of records. This original Square repository is no longer actively developed; an actively maintained fork lives under the Crossfilter Organization.

## Use cases
- filter and group a million-record dataset in the browser with sub-30ms interactions
- power live histograms and top-K lists for dashboard views
- build coordinated chart views that update together when a filter changes
- slice and dice payment or transaction history for analytics
- incrementally adjust filter values without recomputing from scratch

## When to choose
- you need fast multidimensional filtering and grouping of large datasets client-side
- you are building coordinated dashboards, especially with DC.js
- you want incremental filtering backed by sorted indexes rather than full recomputation

## When to avoid
- you need active development, new features, or official support - use the maintained crossfilter/crossfilter fork instead
- your data lives server-side and filtering can be done in a database
- you need a full charting library rather than a filtering/grouping engine

## Facets
- artifact type: library
- maturity: maintenance
- function: data-visualization, search-engine, analytics
- domain: data-visualization, analytics, data-science, frontend
- platform: browser
- tags: multidimensional-filtering, coordinated-views, in-browser-analytics, sorted-indexes, dc-js, nodejs, javascript

## Member repositories
- square/crossfilter (main) score 54

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:39.036535+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:47:22.943303+00:00, confidence not recorded.
  - readme: https://github.com/square/crossfilter (fetched 2026-08-28T04:09:39.036535+00:00, sha 72e514407903)
  - registry_npm: https://registry.npmjs.org/crossfilter (fetched 2026-08-29T08:44:13.447015+00:00, sha 8dc0ee44773b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
