Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Rendering data with React & D3

Public visualization

Viewing a saved revision (read-only)

bcd10c1a264c445387ca2122b95d2493

Fork of Rendering data with React & D3

0 stars1🌍 Public
TThomas Cormican
Last edited Jan 8, 2022
Created on Jan 7, 2022

This visualization displays a bar chart of the ten most populous countries in 2020 using data from the UN Population dataset. The bars are rendered as SVG rectangles positioned with `d3.scaleBand` and scaled with `d3.scaleLinear` based on population values. React manages the component state and renders the chart, while D3 handles data loading via `d3.csv` and scaling functions. The chart updates after the data is fetched asynchronously and sorted by population.

AI-generated description

A program that loads in some data about CSS named colors.