Skip to main content
100%

Stylized Bar Chart

✓ Published0🌍 Public
AAnthonyAl-Rifai
Last edited Feb 20, 2023
Created on Feb 20, 2023

This stylized bar chart visualizes the population of ten countries using horizontal bars, with a clean, modern aesthetic set against a Poppins font and teal color palette. The chart leverages React for state management and rendering, D3 utilities such as `scaleBand` and `scaleLinear` for axes, and SVG for output. Data is loaded via D3’s `csv` function from a UN population dataset, and the x-axis formats large numbers with a custom `format` function that abbreviates values as billions.

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