Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Bar Chart

Public visualization

Viewing a saved revision (read-only)

49091b65df7d440e891c6838b1f1be4d

Bar Chart

0 stars0🌍 Public
SSmf26
Last edited Aug 18, 2020
Created on Aug 18, 2020
Forked from Bar Chart

This bar chart visualizes the population of the top 10 most populous countries, sourced from the United Nations’ World Population Prospects 2017. The data is loaded from a CSV file, with each population value multiplied by 1,000. Using D3 v5, the code applies `scaleLinear` for the horizontal population axis and `scaleBand` for the vertical country axis, rendering SVG rectangles with `axisLeft` and `axisBottom` for labels. The chart displays population bars in steel blue within a fixed 960×500 SVG canvas.

AI-generated description

This Bar Chart shows population of the top 10 most populous countries. [United Nations: The World Population Prospects 2017] (www.google.com).