Skip to main content
100%

dc.js Experiment

✓ Published0🌍 Public
Dd3noob
Last edited Sep 16, 2013
Created on Sep 16, 2013

This dc.js experiment uses a crossfilter to coordinate multiple linked charts—bar charts, a line chart, a row chart, and a pie chart—to explore a dataset of 2013 earthquakes from New Zealand's GeoNet service. The visualization includes a data table and a filter count, with all charts updating dynamically to reflect selections. The dimensions (magnitude, depth, time of day, day of week, and island location) are defined via `crossfilter` and used by `dc.barChart`, `dc.lineChart`, `dc.rowChart`, and `dc.pieChart`. Data loading and parsing rely on `d3.csv` and `d3.time.format`, while charts render as SVG elements.

AI-generated description

Crossfilter via dc.js

This visualization is intended as a demonstrator for describing the use of crossfilter via dc.js.

It includes a subset of the types of graphs possible with dc.js, and is intended to be used in conjunction with a fuller description on d3noob.org and in D3 Tips and Tricks.

The data is from a series of Earthquakes in New Zealand in 2013. and the raw data is available via Geonet.

Similar vizzes