Skip to main content
100%

Fork of Stylized Bar Chart

✓ Published0🌍 Public
Jjuanmy400
Last edited Feb 24, 2022
Created on Feb 24, 2022
Forked from Stylized Bar Chart

A horizontal bar chart displays the top 10 most populous countries, with population values from the United Nations World Population Prospects 2019 dataset. The chart uses React and d3.scaleBand for the categorical y-axis and d3.scaleLinear for the quantitative x-axis, rendering bars as SVG rectangles. Tick labels are formatted with d3.format using the '.2s' specifier to abbreviate values like billions. The visualization includes axes generated by custom AxisBottom and AxisLeft components, with a native SVG `<title>` element providing tooltips on hover.

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