Skip to main content
100%

Making Bar Chart

✓ Published0🌍 Public
Ccacho2294
Last edited Mar 25, 2020
Created on Mar 25, 2020
Forked from Stylized Bar Chart

This bar chart displays the ten most populous countries in the world, using data from the United Nations World Population Prospects 2019. The chart renders horizontal bars whose lengths correspond to each country’s 2020 population. Built with React and D3 version 5, it uses custom axis components (`AxisBottom` and `AxisLeft`) for rendering ticks and labels, while `Marks` draws the rectangles. Hovering over a bar reveals a tooltip with the exact population value via an SVG `<title>` element.

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