Skip to main content
100%

Stylised Bar Chart

✓ Published0🌍 Public
Bbsolomon103
Last edited Jan 3, 2022
Created on Jan 3, 2022

This stylized bar chart displays the populations of the ten most populous countries for 2020, using horizontal bars sorted by country name. The visualization pairs D3 v7 utilities for data loading and scaling with React components for rendering SVG elements. D3’s `csv` fetches the UN population data, while `scaleBand` and `scaleLinear` position the bars on the y- and x-axes. React manages the loading state, displaying “Loading...” until the data arrives, then renders each bar as an SVG `<rect>`.

AI-generated description

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

MIT Licensed

Similar vizzes