Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

barchart

Public visualization

barchart

0 stars1🌍 Public
Jjiayuansun
Last edited May 9, 2020
Created on May 9, 2020
Forked from make a face

This bar chart displays the top 10 most populous countries, with horizontal bars representing each nation’s population in billions. The visualization renders as an SVG, using React and D3 v5, with `d3.csv` loading data from a CSV file. It employs `scaleLinear` for the x-axis, `scaleBand` for the categorical y-axis, and `axisLeft`/`axisBottom` for ticks. Bars are appended as SVG `rect` elements, with axis lines removed for a cleaner presentation.

AI-generated description

A bare minimum HTML page.

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed