{"version":"1.0","type":"rich","title":"Pie chart RDW OWN CODE","description":"This example shows a pie chart displaying the distribution of parking area start years from RDW open data, where each slice represents a unique year value from the dataset. The visualization fetches JSON data from the RDW API, filters it to extract the first four characters of the `startdataarea` column, and identifies unique values before rendering the chart. Using D3 v6, the code employs `d3.pie`, `d3.arc`, and `d3.scaleOrdinal` with the `schemeTableau10` color palette to generate SVG paths and labels. Text labels are placed using an inner arc centroid calculation.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/f1847e9abe804ea58aaf1dd1697b5674?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}