ICE 7 Pie Chart (Sai Kaushik Ganji)
✓ Published0🌍 Public
This pie chart visualizes the distribution of vehicle models across market segments, using data from a 24-row CSV file. The chart is rendered as an SVG with D3 v7, slicing the circle by segment counts and encoding each segment with a distinct color from the `d3.schemeSet2` ordinal scale. The code uses `d3.csv` and `d3.autoType` to load and parse the data, then `d3.rollups` to aggregate counts by segment. Hovering reveals a tooltip, and a legend lists each segment with its total.
AI-generated descriptionMIT Licensed