Skip to main content
100%

Stylized Bar Chart

✓ Published1🌍 Public
TTrustPaul
Last edited Nov 2, 2020
Created on Nov 2, 2020
Forked from Stylized Bar Chart

This example visualizes the top 10 most populous countries as a stylized horizontal bar chart. The bars represent each country’s population, sorted in descending order, with a linear scale on the x-axis and a band scale for country categories. Built with React and D3 (d3.scaleBand, d3.scaleLinear, d3.max, d3.format), it renders SVG rect elements, includes axis ticks and labels, and uses a hover tooltip. Data comes from the United Nations World Population Prospects 2019 CSV, filtered to the first ten rows, with a custom font and muted color palette.

AI-generated description

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

Data: United Nations World Population Prospects 2019.

MIT Licensed

Similar vizzes