Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Piechart ICE - 7 Rohith Arabati

Public visualization

Viewing a saved revision (read-only)

cc5c9a74c012469dbb4392563be6b9a5

Fork of Piechart ICE - 7 Rohith Arabati

0 stars0🌍 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.