Skip to main content
100%

Fork of Hello VizHub

✓ Published0🌍 Public
Rrakshithareddy217@gmail.com
Last edited Oct 20, 2024
Created on Oct 20, 2024
Forked from Hello VizHub

This stacked bar chart displays population trends for multiple countries from 1950 to 2020, using a CSV dataset loaded via d3.csv. The visualization uses D3 v7’s d3.stack, d3.scaleBand, d3.scaleLinear, and d3.scaleOrdinal to render stacked segments per country, with an SVG output and an auto-generated legend for each year column. Axes are added via d3.axisBottom and d3.axisLeft.

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