Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

World Population Bar Chart

Public visualization

Viewing a saved revision (read-only)

8f74ba09d70f4e43a7e1096b3df69edb

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.