Fork of area chart
✓ Published7🌍 Public
This example displays India’s population over time as a filled area chart. It loads CSV data from a GitHub gist and renders an SVG with D3 v7, using `d3.area`, `d3.scaleLinear`, and `d3.axisBottom`/`d3.axisLeft` to draw the path and labeled axes. The chart encodes years on the x-axis and population values on the y-axis, with a steelblue fill.
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