Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

World Population Dynamics

Public visualization

World Population Dynamics

0 stars0🌍 Public
Kkowshiksamudrala08@gmail.com
Last edited Apr 22, 2024
Created on Apr 22, 2024
Forked from HTML Starter

This visualization displays stacked bar charts comparing population projections for the top five countries in 2023, 2030, and 2050. The chart uses D3.js v7 to load CSV data, sort by population, and generate a stacked layout with color-coded segments per year. Hovering a bar turns it red, while clicking shows the exact population value via an alert. The SVG rendering includes axes for country names and population counts, with data sourced from a GitHub-hosted CSV file.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed