clean code with modules (v10.11_17:00)
✓ Published3🌍 Public
A bar chart displays the parking capacity of P+R facilities across Randstad cities, with data fetched from a GitHub gist. The chart communicates total capacity per city, highlighting relative differences in parking availability. The visualization is built with D3 v6, using `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom` to construct the plot. The code organizes data cleaning and visual encoding into separate modules, utilizing `fetch` to retrieve and process JSON, then renders the result as an SVG with steel-blue rectangles and rotated city labels.
AI-generated descriptionMIT Licensed