Skip to main content
100%

Stylized Bar Chart

✓ Published1🌍 Public
KK3zter
Last edited Dec 17, 2021
Created on Dec 17, 2021

This stylized bar chart displays the populations of the top 10 countries for 2020, using horizontal bars with a teal color scheme and the Poppins font. The chart loads data from a CSV file containing UN population estimates, then uses React state to manage the fetched data. Built with D3 v7 and React, it employs `scaleBand` for the categorical y-axis, `scaleLinear` for the quantitative x-axis, and custom SVG components for axes and marks. Native SVG `<title>` elements provide tooltips on hover.

AI-generated description

Loads in some data using D3 and uses react state to track the data

MIT Licensed

Similar vizzes