Fork of Stylized Bar Chart
✓ Published1🌍 Public
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 descriptionA program that shows the top 10 most populous countries as a bar chart.
MIT Licensed