Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

My Bar Chart

Public visualization

My Bar Chart

0 stars0🌍 Public
Sslipperyd
Last edited Feb 21, 2020
Created on Feb 21, 2020
Forked from Making a Bar Chart

This bar chart displays the total population of the top 10 most populous countries in 2018, with countries on the y-axis and population on the x-axis. Using D3 v5, it loads data from a CSV via `d3.csv` and renders SVG rectangles. The chart employs `d3.scaleLinear` for the x-axis, `d3.scaleBand` for the y-axis, and `d3.axisLeft` and `d3.axisBottom` for tick labels. Population values are multiplied by 1,000 before scaling.

AI-generated description

This bar chart shows the total population of the top 10 most populous countries. The data comes from the year 2018, source(...)

Comments

Sign in to join the discussion.

MIT Licensed