Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Stylized Bar Chart

Public visualization

Fork of Stylized Bar Chart

0 stars0🌍 Public
PPaawan Bhatt
Last edited Jul 19, 2021
Created on Jul 19, 2021
Forked from Stylized Bar Chart

This example displays the top 10 most populous countries as a horizontal bar chart using React and SVG. It loads population data from a CSV file via `d3.csv`, scales the bars with `d3.scaleLinear` and the country names with `d3.scaleBand`, and formats axis ticks using `d3.format`. The chart includes styled axes, a population label, and tooltips rendered through SVG `<title>` elements.

AI-generated description

A program that shows the top 10 most populous countries as a bar chart.

Data: United Nations World Population Prospects 2019.

Comments

Sign in to join the discussion.

MIT Licensed