🌍 Public
Viewing a saved revision (read-only)
c2f33f0847fb4f5f8a0f33a74eee437e
Fork MBB - Pie chart
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.