π Public
Making a Bar Chart
This bar chart displays the population of the ten most populated countries in the world, using data from the UN World Population Prospects. It renders the countries on the y-axis with horizontal bars scaled by population via `d3.scaleLinear` and `d3.scaleBand`. The SVG visualization is built with d3 v5, using `d3.csv` to load the data, `d3.axisLeft` and `d3.axisBottom` for labeling, and includes a steelblue fill for each bar.
AI-generated descriptionThis bar chart shows population of 10 most populated countries in the world. Link is here(https://population.un.org/wpp/Download/Standard/Population/)
MIT Licensed
Comments
Sign in to join the discussion.