🌍 Public
Viewing a saved revision (read-only)
c15a4fbdef694acea01196c3897c12d2
India Car Sales
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 descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.