Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

barchart populous countries.d3

Public visualization

Viewing a saved revision (read-only)

a8711f90b9584203a6373180d8eb7382

barchart populous countries.d3

0 stars1🌍 Public
Wwieswies
Last edited Feb 7, 2022
Created on Feb 7, 2022

This visualization shows the population of the ten most populous countries as circles arranged on a chart, with country names on the y-axis and population values on the x-axis. It uses D3 v5’s `scaleLinear` for the horizontal axis and `scalePoint` for the vertical layout, while `axisBottom` and `axisLeft` render gridlines and ticks. Population data from a CSV file is parsed and multiplied by 1,000, with circles styled orange and labeled via `format('.3s')` to abbreviate values in billions.

AI-generated description