New data viz
Linked views
Two thousand fictional rides from a city's shared bikes and scooters, seen four ways at once. Drag across any chart to filter; every other chart answers immediately. Each view ignores its own filter, so you can always see where else the brush could go.
Try two things. Brush fares of $10 and up: of those rides are e-bikes. Then brush 9 pm to midnight: scooters, of all rides, are of the late ones.
Duration against distance
One dot per ride. Drag a rectangle to filter. Both axes square-root scaled to open up the dense short rides.
Start time
Rides per hour of day. Drag to filter.
Fare
Rides per $1 bin; the last bin holds everything from $20 up.
Vehicle
Click a bar to filter; click again to clear it.
Notes
- Old idea, new speed. Becker and Cleveland's "Brushing Scatterplots" (1987) had this on a workstation. Square's Crossfilter (Bostock, 2012) and dc.js made it a web idiom. Here it is about a hundred lines of plain JavaScript: four filter predicates over typed arrays, recounted on every animation frame.
- Crossfilter semantics, on purpose. Each chart counts records that pass every filter except its own, then grays the part outside its own brush. Filter a chart by itself and you would lose the context that tells you where to brush next.
- This is Shneiderman's mantra made literal (overview first, zoom and filter, details on demand, 1996), and the dynamics Heer and Shneiderman catalog in "Interactive Dynamics for Visual Analysis" (2012): select, filter, coordinate.
- Gray is a fixed reference. Histogram heights keep the unfiltered scale, so a filtered subset looks small because it is small. Rescaling each view to its selection would be livelier and would lie about magnitude.
- Brushing is a forking-paths machine. Sweep the brush long enough and some subset will look remarkable. Zgraggen and colleagues (2018) showed that most "insights" found this way in random data are false discoveries. Treat what you find here as a hypothesis to test on held-out data, not a finding.
Source: synthetic. 2,000 fictional rides generated in-page from a seeded random source (seed 2026): start times from commute, midday and late-evening mixtures; log-normal distances; durations from vehicle speed; fares from invented per-minute rates ($0.17 classic, $0.33 e-bike, $0.39 scooter, plus $1 to unlock).