Skip to main content
100%

Make a Bar Chart

✓ Published1🌍 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.

MIT Licensed

Similar vizzes