Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

make a bar chart!

Public visualization

make a bar chart!

0 stars0🌍 Public
YYongbobloomington
Last edited Dec 19, 2020
Created on Dec 18, 2020

This bar chart displays the top 10 most populous countries, with population values derived from the CSV data and rendered as an SVG. The visualization uses D3 v5’s `scaleLinear` for the x-axis and `scaleBand` for categorical y-axis, with `axisLeft` and `axisBottom` for axes and tick formatting via `format('.3s')`. The chart includes a title, axis label, and steel-blue bars, with the data loaded asynchronously from `data.csv` using D3’s `csv` function.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed