Skip to main content
100%

Task 9_10

✓ Published0🌍 Public
PPradhyumna Poralla
Last edited Apr 21, 2024
Created on Apr 21, 2024
Forked from Hello VizHub

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 description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes