Time Series Bar Chart
✓ Published0🌍 Public
This example visualizes the ten most populous countries in 2020 using a horizontal bar chart, with country names on the y-axis and population on the x-axis. Built with React and SVG, it uses D3’s `scaleBand` and `scaleLinear` to map data to coordinates, and the `csv` function to load the United Nations World Population Prospects 2019 dataset. Custom components `AxisBottom` and `AxisLeft` render the axes, while `Marks` draws the bars with tooltips.
AI-generated descriptionA program that shows the top 10 most populous countries as a bar chart.
MIT Licensed