Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork MBB - Pie chart

Public visualization

Viewing a saved revision (read-only)

c2f33f0847fb4f5f8a0f33a74eee437e

Fork MBB - Pie chart

0 stars0🌍 Public
Ppmbhupathibalu@gmail.com
Last edited Mar 27, 2024
Created on Mar 27, 2024

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 description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.