Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Population Histogram by Country 1

Public visualization

Viewing a saved revision (read-only)

0af9f38d0c8b47298d08c3d4a2731e11

Population Histogram by Country 1

0 stars1🌍 Public
AAlex Arobelidze
Last edited Jul 17, 2020
Created on Jul 16, 2020

This horizontal bar chart displays the population of the top 10 most populated countries in 2018, with China and India leading the ranking. Built with D3 v5, the visualization uses `scaleLinear` for the population axis, `scaleBand` for country categories, and `rect` elements in steel blue. The data is loaded from a CSV file via `csv`, with axes generated through `axisBottom` and `axisLeft`. The SVG canvas is set to 960 by 500 pixels, and the chart includes a left margin of 50 pixels for country labels.

AI-generated description

The featured histogram displays population data of top 10 most populated countries as of 2018