Skip to main content
100%

Fork of Piechart ICE - 7 Rohith Arabati

✓ Published0🌍 Public
Vvarun-030
Last edited Mar 27, 2022
Created on Mar 27, 2022

This pie chart visualizes annual car sales for different companies in India, with each slice labeled with its sales value in thousands and accompanied by a color-coded legend. The chart uses D3.js version 5's `pie` and `arc` generators to create the segments from CSV data loaded via `d3.csv`, with `scaleOrdinal` assigning distinct colors to each company and `format` handling numeric labels. The SVG is rendered at 960×500 pixels with a center translate of (250,250) for the pie.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.

MIT Licensed

Similar vizzes