Skip to main content
100%

Making a Bar Chart

✓ Published1🌍 Public
DDavid Trye
Last edited Jun 5, 2020
Created on Jun 5, 2020
Forked from Making a Bar Chart

This bar chart displays the populations of the top 10 most populous countries from a 2018 United Nations estimate. It uses D3 v5 to load CSV data, scale to a linear x-axis and banded y-axis, and render SVG rectangles for bars. The code specifically leverages `d3.csv`, `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom`, with population values multiplied by 1000 for display.

AI-generated description

This bar chart shows population of the top 10 most populous countries. The data commes from the year 2018 estimate in United Nations: World Population Prospects 2017.

MIT Licensed

Similar vizzes