Skip to main content
100%

Fork of Piechart ICE - 7 Rohith Arabati

✓ Published0🌍 Public
NNaimisha-M
Last edited Jul 2, 2022
Created on Jul 2, 2022

This D3.js pie chart visualizes annual car sales of different companies in India, with each slice representing a company and its market share. The visualization uses the `pie()` layout algorithm to compute arc segments, `arc()` to generate the path geometry, and `scaleOrdinal()` to map categorical data to a custom color palette. Sales values are labeled on each slice in thousands, while a legend on the right identifies companies and their corresponding values. The chart loads CSV data asynchronously from a GitHub raw URL, and the data is processed to calculate the total before rendering.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.

MIT Licensed

Similar vizzes