Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Question 1

Public visualization

Fork of Question 1

0 stars1🌍 Public
HHarshita Vairagade
Last edited Apr 29, 2024
Created on Apr 29, 2024
Forked from Question 1

This visualization displays the top 10 car-producing countries in the world, using 2019 totals as a pie chart paired with an interactive legend. The pie segments use color-coded arcs, while the legend lists each country with its corresponding production figure formatted in thousands. Built with D3 v5, it loads CSV data from a GitHub gist and uses `d3.pie`, `d3.arc`, and `d3.scaleOrdinal` to generate the SVG chart. The legend combines circles and text elements to present country names and values.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed