{"version":"1.0","type":"rich","title":"ICE-7 Pie chart ","description":"This example shows a pie chart of student marks, mapping country names to color-coded slices based on their associated death counts. The visualization uses React state to asynchronously load CSV data via `d3.csv`, then generates the pie layout with `d3.pie()` and renders each slice as an SVG path using `d3.arc()`. A `scaleOrdinal` assigns colors, and a separate legend lists the countries with matching color swatches. Charts are centered with a fixed 600x400 viewport, styled with white strokes between segments.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/141bcc9f65f84fcabc9eafa6f96ed343?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}