Skip to main content
100%

Stylized Bar Chart

✓ Published1🌍 Public
杨杨明俊
Last edited Mar 14, 2020
Created on Mar 14, 2020
Forked from Stylized Bar Chart

This stylized bar chart displays the top 10 most populous countries using horizontal bars, with country names on the y-axis and population on the x-axis. Built with React and D3 v5, the chart uses `scaleBand` for the y-axis, `scaleLinear` for the x-axis, and SVG `rect` elements for the bars. Population values come from the UN World Population Prospects 2019 dataset, formatted with D3’s `format` to display values in billions. The visualization includes axis labels, tick marks, and hover tooltips 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