Skip to main content
100%

Crossfilter

✓ Published0🌍 Public
Aalexmacy
Last edited Feb 7, 2017
Created on Jan 30, 2017

This visualization uses the Crossfilter library with D3.js v4 to explore a dataset of over 3 million flights through four linked bar charts showing time of day, arrival delay, distance, and date. Users can brush any chart to filter the flight list below, which updates all other charts and the selection count via crossfilter’s dimensions and groups. The charts use `d3.scaleLinear` and `d3.scaleTime`, with bar charts rendered as SVG and brushed ranges applying crossfilter filters. Data is loaded as CSV from a GitHub Pages-hosted JSON file.

AI-generated description

This is an updated version of this demo of the crossfilter library. Crossfilter has been one of my favorite - and what I think to be on of the most underrated - JavaScript libraries. It hasn't seen much of any updates in quite a while, so I wanted to find out how it would work with version 4 of d3.js.

There were some issues that came up with how d3-brush has been updated for v4. Big thanks goes to Alastair Dant (@ajdant) for helping to figure out a couple of those issues!

Also worth reading, is this discussion started by Robert Monfera (@monfera).

Similar vizzes