Skip to main content
100%

Interactive barChart TRYING NEW TRANSITIONS

✓ Published2🌍 Public
NNathan Neelis
Last edited Nov 26, 2020
Created on Nov 26, 2020

This interactive bar chart shows the parking capacity of P+R facilities across cities in the Randstad region of the Netherlands. A checkbox aggregates data for cities with multiple parking areas, updating the chart with smooth transitions. Built with D3 v6, the visualization uses `d3.scaleBand` and `d3.scaleLinear` to map city names and capacities, with SVG rectangles animated via `transition()`. Data is fetched from a JSON endpoint and cleaned through custom transformation functions. Axes update dynamically when the filter is toggled, re-rendering bars and tick labels.

AI-generated description
MIT Licensed

Similar vizzes