Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

JS Bin

Public visualization

JS Bin

0 stars0🌍 Public
KKanish Malviya
Last edited Nov 3, 2020
Created on Oct 30, 2020
Forked from HTML Starter

A horizontal bar chart displays population figures for ten countries, with bar lengths proportional to each value from `data.csv`. The SVG graphic maps country names to the y-axis and population counts to the x-axis using D3 v6's `scaleLinear` and `scaleBand`. The React-based code loads data via `d3.csv`, multiplies population values by 1000, and appends rectangles to the SVG with the `enter` selection.

AI-generated description

A bare minimum HTML page.

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed