Skip to main content
100%

Fork of Customizing Axes

✓ Published0🌍 Public
SshanLU999
Last edited May 26, 2021
Created on May 26, 2021
Forked from Customizing Axes

A horizontal bar chart displays the populations of the top ten most populous countries, using 2018 UN estimates, with each bar colored by a country-specific hex or named color. The visualization employs d3.csv to load the data, d3.scaleLinear for the population axis, d3.scaleBand for country categories, and d3.axisLeft/d3.axisBottom with tick formatting to abbreviate large numbers. SVG rectangles are appended and sized by the scales, with gridlines and a custom axis label, all styled via external CSS.

AI-generated description

This bar chart shows population of the top 10 most populous countries. The data is sourced from 2018 estimate from the link: https://esa.un.org/unpd/wpp/download/standard/population/

MIT Licensed

Similar vizzes