Making a Bar Chart
✓ Published2🌍 Public
This bar chart displays the 2019 populations of the ten most populous countries, with horizontal bars ranked from China down to Mexico. The visualization uses D3 v5 with an SVG rendering, employing `scaleLinear` for the population axis and `scaleBand` for country categories. Axis labels and a title are added via D3’s axis components. Population values are parsed from a CSV file and formatted in billions using D3’s `format` function. Data originates from the World Population Prospects 2019 report.
AI-generated descriptionThis is a bar chart shows population of the top 10 most populous countries. The data comes from the year 2019 estimates in World Population Prospects 2019
MIT Licensed