Task 9_10
✓ Published0🌍 Public
A pie chart shows the population distribution of the top 10 countries from a JSON dataset. Using D3 v5, the chart encodes population values as arc segments with a categorical color scheme, and includes a legend with country names and formatted population values. The visualization is rendered as SVG, built with `d3.pie`, `d3.arc`, and `d3.scaleOrdinal`, with the legend positioned to the right of the chart.
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.
MIT Licensed