Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Making a Bar Chart

Public visualization

Making a Bar Chart

0 stars0🌍 Public
HHarish M A
Last edited Jul 20, 2020
Created on Jul 20, 2020

A horizontal bar chart displays population counts for ten countries. The chart renders as an SVG and uses D3 v5's `scaleLinear` for the x-axis and `scaleBand` for the y-axis, mapping each country to a rectangle. Data loads from a CSV file via `d3.csv`, with population values multiplied by 1,000 during preprocessing. Bars fill the full width, with no labels or axes visible.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed