🌍 Public
Viewing a saved revision (read-only)
e4021253d70549e3a343c2780f9bf813
Fork of Stylized Bar Chart
This example visualizes the top 10 most populous countries in 2020 using a horizontal bar chart, based on UN World Population Prospects data. React renders the SVG, while d3’s `scaleBand` and `scaleLinear` position bars and axes, with d3’s `format` converting population values into abbreviated labels like “1.4B.” The chart loads CSV data via `d3.csv` and includes hover tooltips through SVG `<title>` elements. A Poppins font and orange bar styling give the chart its distinctive appearance.
AI-generated descriptionA program that shows the top 10 most populous countries as a bar chart.