Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

test

Public visualization

test

0 stars1🌍 Public
Aamulyabhagwat1999@gmail.com
Last edited Jul 11, 2024
Created on Jul 11, 2024
Forked from Hello VizHub

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

Comments

Sign in to join the discussion.

MIT Licensed