Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Lets make a BAR CHART!

Public visualization

Lets make a BAR CHART!

0 stars0🌍 Public
JJeet Jain
Last edited Jul 2, 2020
Created on Jul 2, 2020

This bar chart displays population estimates for ten countries using horizontal bars, encoding each nation’s population as the bar’s width and ranking countries vertically. The visualization uses D3 v5’s `scaleLinear` and `scaleBand` to map data values to pixel dimensions, with `axisLeft` and `axisBottom` providing labeled axes. Data is loaded from a CSV file via `csv()` and rendered as SVG rectangles, with populations scaled by a factor of 10,000.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed