Skip to main content
100%

Fork of Stylized Bar Chart

✓ Published0🌍 Public
Aangelinatham
Last edited Apr 23, 2021
Created on Apr 23, 2021
Forked from Stylized Bar Chart

This bar chart displays the ten most populous countries using data from the United Nations World Population Prospects 2019, with population values on the horizontal axis and country names on the vertical axis. Built with React and D3 v5, the visualization uses `scaleBand` for the categorical y-axis and `scaleLinear` for the numeric x-axis, rendering the bars as SVG `<rect>` elements within a `<svg>` container. The `AxisBottom` and `AxisLeft` components generate ticks and labels, while a CSS-styled `.mark` class fills each bar with a teal color and a `<title>` element provides tooltips.

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