Skip to main content
100%

Exploring RDW data - Basic chart with filtering

✓ Published0🌍 Public
NNino Schelcher
Last edited Nov 10, 2020
Created on Nov 10, 2020

This example visualizes Dutch parking facility data from the RDW, displaying each location’s capacity as a bar chart. A checkbox filters out entries with unknown capacity, dynamically updating the axes and bars. The visualization loads local JSON via `d3.json` (through a helper `getData`), uses `d3.scaleBand` and `d3.scaleLinear` for scaling, and renders SVG rectangles with D3 v6 selection and data-join methods. Interactive filtering triggers `filterUnknown`, which updates domains and redraws bars with enter, update, and exit patterns.

AI-generated description

Example of how to add filtering

MIT Licensed

Similar vizzes