Skip to main content
100%

Pie chart RDW Final

✓ Published3🌍 Public
SSergio Eijben
Last edited Nov 13, 2020
Created on Nov 12, 2020
Forked from Pie chart RDW

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
MIT Licensed

Similar vizzes