Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Bar Chart w/ D3.js

Public visualization

Viewing a saved revision (read-only)

74cdd8634c3248329d38cb39a856298d

Bar Chart w/ D3.js

0 stars3🌍 Public
Ggoodej
Last edited Sep 7, 2020
Created on Sep 7, 2020
Forked from HTML Starter

This bar chart displays the population of the ten most populous countries using 2018 estimates from the UN World Population Prospects. The visualization employs D3.js v6 with SVG rendering, using `scaleLinear` for the x-axis and `scaleBand` for categorical country labels. Population values, read from a CSV file via D3's `csv` method, are multiplied by 1000 before being drawn as steelblue rectangles with axes generated by `axisLeft` and `axisBottom`.

AI-generated description

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