Fork of Stylized Bar Chart
✓ Published1🌍 Public
This example shows the top 10 most populous countries as a horizontal bar chart, with country names on the y-axis and population formatted in billions on the x-axis. It uses React with SVG rendering, the d3.scaleBand and d3.scaleLinear scales for positioning, and d3.csv for loading the UN World Population Prospects 2019 dataset. Custom AxisBottom and AxisLeft components render ticks, while Marks draws rectangles with native SVG tooltips. The chart uses a teal color for bars and the Poppins font.
AI-generated descriptionA program that shows the top 10 most populous countries as a bar chart.
MIT Licensed