Scatter plot
✓ Published0🌍 Public
A scatter-style bar chart displays the 2021 populations of the top 10 countries using horizontal bars, with country names on the y-axis and population counts on the x-axis. The visualization employs D3 v6’s `scaleLinear` and `scaleBand` for axes, `axisLeft` and `axisBottom` for ticks, and `select` for SVG rendering. Data is loaded from a local CSV file, and population values are formatted with `.3s` notation, replacing 'G' with 'B' for billions.
AI-generated descriptionThis bar chart shows population of Top 10 countries in 2021. The data comes from Countries in the world by population (2021)
MIT Licensed