Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of The Margin convention

Public visualization

Fork of Fork of The Margin convention

0 stars1🌍 Public
TtrwMK
Last edited Oct 14, 2022
Created on Oct 14, 2022

A bar chart displays the populations of the top 20 countries for 2020, sourced from UN population data loaded via D3’s `csv` utility. React renders each country as a horizontal `rect` using `scaleBand` for the y-axis and `scaleLinear` for the x-axis, with widths proportional to population. The SVG is positioned within a 20-pixel margin, and the visualization updates once the asynchronous data fetch completes.

AI-generated description

A program that loads in some data about CSS named colors using D3 utilities, and uses React to render the data as a radial burst!

Comments

Sign in to join the discussion.

MIT Licensed