Fork of Stylized Bar Chart
✓ Published0🌍 Public
This visualization displays the top 10 most populous countries using a horizontal bar chart, with country names on the y-axis and population counts on the x-axis. The React app loads data from the UN World Population Prospects 2019 CSV via d3.csv, then renders SVG bars using d3.scaleBand and d3.scaleLinear. The code uses d3.format to abbreviate tick labels, replacing 'G' with 'B' for billions. The chart includes styled axis labels and tooltips showing population values when hovering over each bar.
AI-generated descriptionA program that shows the top 10 most populous countries as a bar chart.
MIT Licensed