Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Final project

Public visualization

Final project

0 stars0🌍 Public
Cchristina030
Last edited Jan 12, 2023
Created on Jan 12, 2023

This visualization compares population growth between Taiwan and the United States from 99 to 110 years, displaying animated bar charts that rank regions by population. The bars update dynamically each year, with the current year displayed prominently and tooltips showing exact population values on hover. The animation uses `d3.interval` to cycle through yearly data, while `d3.scaleLinear` and `d3.axisTop` handle the chart scaling and axes. The visualization also includes a separate line chart plotting population rates for Taiwan, rendered with `d3.line` and interactive circles for each data point.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed