🌍 Public
Viewing a saved revision (read-only)
c63f1922f7a44d3a92b67a23a90354d6
Pie chart RDW Final
This pie chart displays how many Park & Ride locations were created per year, based on Dutch open data from RDW. The chart uses d3.pie and d3.arc to generate slices, with each slice labeled by year and count, colored via d3.scaleOrdinal. Hovering a slice triggers a transition that expands the arc using d3.arc with adjusted radii. The data is fetched from two RDW JSON endpoints using async/await, filtered and aggregated before rendering as an SVG.
AI-generated description