Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Customising Axes

Public visualization

Viewing a saved revision (read-only)

a9c5b2d98c414883b8ef31e2280e359c

Customising Axes

0 stars0🌍 Public
CCarlosPucM
Last edited Aug 16, 2019
Created on Aug 16, 2019
Forked from Customising Axes

This bar chart displays the population of the top 10 most populous countries, with data from the 2019 United Nations World Population Prospects. The code uses d3.csv to load the data, then d3.scaleLinear for the x-axis and d3.scaleBand for the y-axis, with d3.axisLeft and d3.axisBottom rendering the axes. Population values are multiplied by 1000, and the chart is drawn as SVG rectangles with a steelblue fill.

AI-generated description

This bar chart shows population of the top 10 most populous countries. The data comes from the Year 2019 estimate in United Nations: World Population Prospects