Skip to main content
100%

UN Data

✓ Published1🌍 Public
JJi Won Yeom
Last edited Jan 26, 2022
Created on Jan 25, 2022

This bar chart visualizes the 2020 population estimates for the top 10 countries from the UN Population dataset. Each bar represents a country, with length proportional to population, and the country names are listed on the y-axis to facilitate comparison. The visualization is rendered as SVG using React, with D3's `scaleBand` and `scaleLinear` for coordinate mapping. The code loads the CSV data with `d3.csv`, and the components (`AxisBottom`, `AxisLeft`, `Marks`) generate the chart elements, with React state managing the data lifecycle.

AI-generated description

A program that loads in some data about CSS named colors using D3 utilities, and uses React state to keep track of the data.

MIT Licensed

Similar vizzes