Skip to main content
100%

Fork of Fork of Hello VizHub

✓ Published0🌍 Public
Aamulyabhagwat1999@gmail.com
Last edited Jul 11, 2024
Created on Jul 11, 2024

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 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