Skip to main content
100%

Bar Chart (vertical + filter) - TechTrack

✓ Published1🌍 Public
Ddavidvanr21
Last edited Jan 27, 2021
Created on Jan 27, 2021
Forked from Untitled

This vertical bar chart visualizes parking facility capacities across Dutch locations, using data sourced from RDW parking data via a proxy URL. The chart includes an interactive checkbox filter that excludes facilities with unknown capacity values, dynamically updating the scales and re-rendering bars. Built with D3 v6, it uses SVG rendering, d3.scaleBand for categorical positioning, d3.scaleLinear for value mapping, and d3.axisBottom/axisLeft for axes. Bar transitions and enter/exit selections manage the filtered view, while rotated x-axis labels accommodate long descriptions.

AI-generated description

Example of how to add filtering

MIT Licensed

Similar vizzes