Fork of Stylized Bar Chart
✓ Published1🌍 Public
This example shows the top 10 most populous countries as a horizontal bar chart, with each bar’s length representing population size and a tooltip displaying the formatted value. The chart is built with React and D3 v5, using `scaleBand` for the categorical y-axis and `scaleLinear` for the numeric x-axis. SVG rectangles render the bars, while custom `AxisBottom` and `AxisLeft` components generate ticks and labels. Data comes from the United Nations World Population Prospects 2019 CSV file.
AI-generated descriptionA program that shows the top 10 most populous countries as a bar chart.
MIT Licensed