🌍 Public
Viewing a saved revision (read-only)
a2eead2549d240518d91fd69427860e5
Fork bar chart with axis
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 descriptionAdding axis