{"version":"1.0","type":"rich","title":"Piechart_Assignment2","description":"This example shows the distribution of wind speeds across cities using a pie chart, categorizing values into three ranges: 0-10, 10-15, and above 15. The visualization loads a CSV dataset from a GitHub repository using `fetch` and `d3.csvParse`, then aggregates the data. It renders an SVG pie chart with `d3.pie()` and `d3.arc()`, applying custom colors via `d3.scaleOrdinal`. Labels are placed at arc centroids using `path.centroid`, and an HTML legend is built dynamically beneath the chart.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/8c606406a9244952b1fd8ffe1747bedd?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}