Skip to main content
100%

Stylized Bar Chart

✓ Published0🌍 Public
Hhimskit007
Last edited Feb 4, 2020
Created on Feb 4, 2020
Forked from Stylized Bar Chart

This example displays the top 10 most populous countries using a stylized horizontal bar chart, with country names on the y-axis and population values on the x-axis. It renders the chart as an SVG using React components for the axes and marks, leveraging d3.scaleBand and d3.scaleLinear for scaling. The data comes from the United Nations World Population Prospects 2019, loaded via d3.csv, and formatted with d3.format to show values in billions. The chart includes a "Population" axis label and hover tooltips via SVG `<title>` elements.

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.

MIT Licensed

Similar vizzes