Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork bar chart with axis

Public visualization

Viewing a saved revision (read-only)

a2eead2549d240518d91fd69427860e5

Fork bar chart with axis

0 stars1🌍 Public
JJean David
Last edited May 22, 2021
Created on May 22, 2021

This fork bar chart displays population data for 15 countries from the United Nations World Population Prospects 2019, using horizontal bars ranked by value against a linear scale. The visualization is built with React and d3-v5, leveraging `scaleBand` for the categorical y-axis, `scaleLinear` for the numerical x-axis, and SVG rectangles to encode population sizes. Data is loaded via d3’s `csv` method, and the chart includes a loading state rendered as text before the data arrives.

AI-generated description