Skip to main content
100%

Fork of Refactored Bar Chart

✓ Published0🌍 Public
Jjerryren527
Last edited Jun 9, 2023
Created on Jun 9, 2023

A bar chart displays the ten most populous countries, with country names on the vertical axis and population on the horizontal axis, lacking a labeled y-axis title and numeric labels on the x-axis ticks. Built with React and D3 v5, the visualization uses `scaleBand` for the categorical country axis and `scaleLinear` for the continuous population axis. SVG rectangles represent each country’s population, with custom `AxisBottom` and `AxisLeft` components rendering tick lines and text. Data originates from the United Nations World Population Prospects 2019, loaded via `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