Skip to main content
100%

Stylized Bar chart (CSS)

✓ Published0🌍 Public
JJean David
Last edited May 22, 2021
Created on May 22, 2021

A stylized horizontal bar chart displays the top 15 countries by projected 2020 population from the UN World Population Prospects 2019 dataset. The chart uses a teal fill for bars, with CSS-styled axes and gridlines, and labels populations in billions with an "B" suffix. Built with React and D3 v5, it employs `scaleBand` for the categorical y-axis, `scaleLinear` for the numeric x-axis, and renders as SVG. Tooltips appear on hover via native SVG `title` elements, while axis components generate ticks and text elements programmatically.

AI-generated description

Reformat bar chart (axis)

Data: United Nations World Population Prospects 2019.

MIT Licensed

Similar vizzes