Skip to main content
100%

Crossfilter Examples

✓ Published0🌍 Public
Aackuser
Last edited Oct 18, 2016
Created on Oct 18, 2016

This example demonstrates how Crossfilter can be used to group and summarize a small dataset of car specifications. Using d3.csv.parse, the embedded CSV data (13 car models with attributes like cylinders, displacement, and horsepower) is loaded into a Crossfilter instance. A dimension is created on the number of cylinders, and a group with the default count reduction tallies how many cars fall into each cylinder category. The results are rendered as a simple list of text divs under a Bootstrap well, showing each cylinder count and the number of matching cars (e.g., "Cars with 4 cylinders: 4"). It illustrates Crossfilter's core dimension and group workflow with a minimal D3 binding.

AI-generated description

Similar vizzes