Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Customizing Axes

Public visualization

Viewing a saved revision (read-only)

05c9796618074299b7a2f4d920391c00

Fork of Customizing Axes

0 stars0🌍 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/