🌍 Public
Viewing a saved revision (read-only)
83675d7d2cbc4124a34812aad13bc31f
It has dataCsv - Making a bar chart
This bar chart displays the population of the top 10 most populous countries, with data from the World Population Prospect 2017. The visualization uses d3.csv to load the data, then d3.scaleLinear and d3.scaleBand to map population values and country names to positions. The code renders bars as SVG rectangles and includes axes with d3.axisLeft and d3.axisBottom, using a custom tick formatter to abbreviate large numbers. Population values are multiplied by 1000 during preprocessing.
AI-generated descriptionThe bar chart show population of the top of 10 most popluois countries. The data comes from World Population Prospect 2017.