🌍 Public
Viewing a saved revision (read-only)
6396b28e2be641279a93d7971cf741c6
Styled BarChart
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 descriptionA program that loads in some data about CSS named colors using D3 utilities, and uses React to render the data as a radial burst.