Skip to main content
100%

Refactored barchart

✓ Published1🌍 Public
Llaplantalaplanta
Last edited Jan 27, 2022
Created on Jan 27, 2022

This bar chart displays the ten most populous countries in 2020 using data from the United Nations World Population Prospects 2019. The visualization uses React components that wrap D3 scales, including `scaleBand` for the y-axis and `scaleLinear` for the x-axis. Axes are rendered as custom SVG elements, with tick labels generated via `axisBottom` and `axisLeft` style logic, while rectangles are drawn as marks in the SVG. Data is loaded asynchronously with `d3.csv`.

AI-generated description

A program that shows the top 10 most populous countries as a pathetic bar chart with no axes.

Data: United Nations World Population Prospects 2019.

MIT Licensed

Similar vizzes