Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Pie chart RDW Final

Public visualization

Pie chart RDW Final

0 stars3🌍 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

Comments

Sign in to join the discussion.

MIT Licensed