Fork of Fork of Hello VizHub
✓ Published0🌍 Public
This area chart displays population trends for the world and major regions from 1750 to 2150, using an SVG rendered with D3.js. The code imports D3 via ES6 modules, loads CSV data from a GitHub gist, and parses years with `d3.timeParse`. It applies `d3.area` with a monotone curve, `d3.axisBottom` and `d3.axisLeft` for axes, and `d3.scaleOrdinal` for categorical coloring. Legends and a title are appended as SVG elements, demonstrating modular chart configuration with D3 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