Fork MBB - Pie chart
✓ Published0🌍 Public
This pie chart visualizes annual car sales across different Indian states, sourced from a CSV file hosted on GitHub. Using D3 v5, the code employs the `pie` function to compute arc segments and `scaleOrdinal` to assign distinct colors to each state. Sales values are formatted with `format` and displayed as labels in thousands, alongside a legend detailing state names and corresponding figures. The SVG output is rendered at 960x500 pixels.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts.
Shows the Iris Dataset.
MIT Licensed