Skip to main content
100%

Scatter plot

✓ Published0🌍 Public
HHui Zhang
Last edited Jul 6, 2021
Created on Jul 6, 2021
Forked from Bar chart

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 description

This bar chart shows population of Top 10 countries in 2021. The data comes from Countries in the world by population (2021)

MIT Licensed

Similar vizzes