Skip to main content
100%

Styled BarChart

✓ Published2🌍 Public
CChris Knight
Last edited Jun 23, 2022
Created on Jun 23, 2022

This styled bar chart visualizes the top 10 countries by population in 2020, using horizontal bars to represent each country's population. The chart, built with React and D3 v5, loads data from a CSV file containing UN population estimates. It uses D3's `scaleBand` and `scaleLinear` for axes and scaling, with `Marks` rendering SVG rectangles. The styling includes a Poppins font, custom tick colors, and a tooltip that formats population values using `format(".2s")` to display values in billions with a 'B' suffix.

AI-generated description

A program that loads in some data about CSS named colors using D3 utilities, and uses React to render the data as a radial burst.

MIT Licensed

Similar vizzes