Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Make a Bar Chart

Public visualization

Make a Bar Chart

0 stars1🌍 Public
NNeepaB
Last edited Dec 14, 2020
Created on Dec 12, 2020

This bar chart displays the population of the top 10 most populous countries, with each bar’s length proportional to population in thousands and countries listed on the vertical axis. Using D3 v5, the code loads data from a CSV, applies linear and band scales to map values to pixel coordinates, and renders an SVG with axes and steel-blue rectangles. The visualization relies on `d3.csv`, `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom` from the D3 module imports.

AI-generated description

This bar chart shows population of the top 10 most populous countries in the world.

Comments

Sign in to join the discussion.

MIT Licensed