Skip to main content
100%

Stylized Bar Chart

✓ Published1🌍 Public
Kkbrookshire420
Last edited May 8, 2022
Created on May 8, 2022

This stylized bar chart displays the top ten countries by population in 2020, with horizontal bars sorted by country name. The visualization uses D3.js scaling functions and React components to render SVG rectangles, axes, and tick labels. Data is loaded asynchronously via the `d3.csv` utility from a GitHub-hosted CSV file, and tooltips show formatted population values using `d3.format`. The chart’s aesthetic is enhanced with the Poppins font and a custom color palette applied to marks and gridlines.

AI-generated description

A program that loads in some data using d3 utilities, and uses react state to keep track of the data.

MIT Licensed

Similar vizzes