Fork of Stylized Bar Chart
✓ Published0🌍 Public
This example displays the top 10 most populous countries as horizontal bars, with country names on the y-axis and population counts on the x-axis, formatted in billions. The chart is built with React and D3 v5, using `scaleBand` and `scaleLinear` to position bars and axes, and SVG `<rect>` elements for rendering. Data comes from the United Nations World Population Prospects 2019 CSV, loaded via `d3.csv`. Native `<title>` elements provide hover tooltips with formatted population values.
AI-generated descriptionA program that shows the top 10 most populous countries as a bar chart.
MIT Licensed