Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

India Car Sales

Public visualization

India Car Sales

0 stars0🌍 Public
GGeorge Oyosa
Last edited Apr 13, 2024
Created on Apr 13, 2024

This visualization presents a pie chart of the top five Indian car companies by annual sales, with each slice labeled with its sales figure. The chart is built using D3 v5, with data loaded via `d3.csv` from a GitHub-hosted CSV file. The `d3.pie` and `d3.arc` functions generate the chart geometry, while `d3.scaleOrdinal` assigns distinct colors to each company. A legend on the right side lists the companies with their corresponding sales values.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed