Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

World Population Bar Chart

Public visualization

World Population Bar Chart

0 stars0🌍 Public
Aalexislanz
Last edited Aug 6, 2021
Created on Aug 6, 2021
Forked from React Starter

This bar chart visualizes world total population by year, drawn as a series of vertical bars in an SVG. The visualization maps years to the x-axis and population counts to the y-axis using D3’s `scaleLinear`, with each yearly value rendered as a `<rect>` element. Data is loaded asynchronously from a CSV file via D3’s `csv` function, while the React app manages state through `useState` and `useEffect`. Axes are generated with `axisBottom` and `axisLeft` from D3 v7.

AI-generated description

A barchart of the world urban and total population by year.

Comments

Sign in to join the discussion.

MIT Licensed