{"version":"1.0","type":"rich","title":"Pie chart RDW filter op andere dataset","description":"This example visualizes the distribution of parking data usage years from the RDW open dataset, filtering by the `usageid` and `startdataarea` columns, and aggregating counts per year into a pie chart. It fetches data from the RDW API via `fetch`, filters and maps values with custom functions, then uses `d3.pie`, `d3.arc`, and `d3.scaleOrdinal` with `d3.schemeCategory10` to render the SVG slices. Labels are placed using `arc.centroid`, and the chart displays unique year values as text on each segment. The dataset is retrieved from `opendata.rdw.nl` with a CORS proxy.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/cb2774663e914227aa237e2cdefb3d3e?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}