Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Making a Bar Chart

Public visualization

Making a Bar Chart

0 stars1🌍 Public
JJonathan Phelps
Last edited Jan 17, 2020
Created on Jan 17, 2020

This horizontal bar chart displays the population of the top 10 most populous countries, with data from the UN World Population Prospects. The visualization uses D3 v5 APIs including `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom` to map population values to bar widths and country names to y-axis positions. Bars are rendered as SVG `rect` elements with a steelblue fill, and the data is loaded from a CSV file using D3's `csv` function.

AI-generated description

This bar chart shows population of the top 10 most populous countries from blah blah

Comments

Sign in to join the discussion.

MIT Licensed