Skip to main content
100%

Top India Car Sales

✓ Published0🌍 Public
Hhimavinaytummala@my.unt.edu
Last edited Apr 13, 2024
Created on Apr 13, 2024

This pie chart visualizes the top five Indian car manufacturers by annual sales, with each slice labeled with its sales figure in thousands. The visualization loads CSV data from a GitHub gist, sorts and filters the dataset, then uses d3.pie and d3.arc to generate SVG paths for the chart. A d3.scaleOrdinal assigns distinct colors to each brand, while custom legends and text labels are positioned using arc.centroid. The code imports specific functions from d3 v5, including csv for data loading and format for tick label formatting.

AI-generated description
MIT Licensed

Similar vizzes