Skip to main content
100%

Fork of Stylized Bar Chart

✓ Published1🌍 Public
YYongbobloomington
Last edited Feb 14, 2021
Created on Feb 14, 2021
Forked from Stylized Bar Chart

This visualization displays the top 10 most populous countries as a horizontal bar chart, using population data from the United Nations World Population Prospects 2019. The chart maps country names to the y-axis with d3.scaleBand and population values to the x-axis with d3.scaleLinear. React renders each bar as a rect element, with d3.csv loading the data and d3.axisLeft generating the tick marks. The bars are styled with a teal fill and include 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