test
✓ Published1🌍 Public
This example displays population changes over time for multiple countries as overlapping area charts. It loads CSV data from a GitHub gist, parses the year columns, and renders the visualization using D3 v6 APIs including `d3.scaleTime`, `d3.scaleLinear`, `d3.area`, and `d3.curveMonotoneX`. A categorical color scale assigns hues per country, with a legend positioned to the right. The SVG output is generated via a reusable chart function and D3 selection methods.
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