Skip to main content
100%

UN population countries

✓ Published1🌍 Public
BBurak Senel
Last edited Mar 16, 2021
Created on Mar 16, 2021

A bar chart displays the top 10 most populous countries in 2020 using UN population data, with horizontal bars sized by `Population` values. The React app loads CSV data via `d3.csv`, filters the first ten rows, and renders SVG `<rect>` elements using `d3.scaleBand` for the y-axis country categories and `d3.scaleLinear` for the x-axis population scale. The chart updates after an asynchronous data fetch, showing a loading state before the visualization appears.

AI-generated description

A program to load CSV data

MIT Licensed

Similar vizzes