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)

ccab4323b73c4cabac77a3aaf264b022

Fork of Rendering Data with React & D3

0 stars0🌍 Public
AAnkit-Ian-53787
Last edited Oct 21, 2021
Created on Oct 21, 2021

This example displays the ten most populous countries in 2020 as a horizontal bar chart, using United Nations population data loaded via D3’s `csv` utility. React manages component state and rendering, while D3’s `scaleBand` and `scaleLinear` compute bar positions and widths, and `max` and `ticks` generate the axis. The SVG output is created through React elements, with gridlines and country labels drawn from D3 scales.

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!