Skip to main content
100%

Syllized Bar Chart

✓ Published1🌍 Public
AAdriana Rodriguez Sanabria
Last edited Oct 24, 2021
Created on Oct 13, 2021
Forked from Hello VizHub

This example displays the top 10 most populous countries as horizontal bars using React and D3 v5. The chart renders SVG rectangles with data from the United Nations World Population Prospects 2019, showing each country’s population in 2020. The y-axis uses `scaleBand` for country labels, while the x-axis employs `scaleLinear` with tick formatting that abbreviates values using `d3.format` (e.g., converting G to B). Custom React components (`AxisBottom`, `AxisLeft`, `Marks`) structure the visualization, with hover tooltips provided through 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