Q1
✓ Published1🌍 Public
This example displays a world population pie chart broken down by continent. It uses D3 v7 to load CSV data from a GitHub gist, converts population values to numbers, and renders an SVG pie chart with an ordinal color scale and a custom legend. The chart is built with `d3.pie`, `d3.arc`, and `d3.scaleOrdinal`, with slices styled with opacity and stroke.
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