Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

bar chart with tick

Public visualization

bar chart with tick

0 stars1๐ŸŒ Public
Ffaizalmunna
Last edited Aug 10, 2021
Created on Aug 9, 2021
Forked from Pathetic Bar Chart

This example displays the top 10 most populous countries as a horizontal bar chart, using React to manage state and render SVG elements. It lacks traditional axes and instead shows tick marks and labels along the bottom, generated via `scaleLinear` and `scaleBand` from d3. The data comes from the United Nations World Population Prospects 2019, loaded with `d3.csv`. Bars are drawn as `<rect>` elements, with a light blue line marking each tick position.

AI-generated description

A program that shows the top 10 most populous countries as a pathetic bar chart with no axes.

Data: United Nations World Population Prospects 2019.

Comments

Sign in to join the discussion.

MIT Licensed