Skip to main content
100%

Stylized Bar Chart

✓ Published1🌍 Public
LLeyou Hong
Last edited Oct 20, 2020
Created on Oct 20, 2020
Forked from Stylized Bar Chart

This bar chart visualizes the top 10 most populous countries using 2019 United Nations population data, with a horizontal layout and stylized teal bars. The chart maps country names to a `d3.scaleBand` on the y-axis and population values to a `d3.scaleLinear` on the x-axis. React renders the SVG elements, with custom `AxisLeft` and `AxisBottom` components generating ticks and labels. Population values are formatted using `d3.format` to display billions, and hover tooltips appear via SVG `<title>` elements.

AI-generated description

A program that shows the top 10 most populous countries as a bar chart.

Data: United Nations World Population Prospects 2019.

MIT Licensed

Similar vizzes