Skip to main content
100%

Fork of Fork of Rendering Data with React and D3

✓ Published1🌍 Public
DDeborah Ong
Last edited Apr 3, 2021
Created on Apr 3, 2021

This visualization uses React to render a bar chart of the top 10 countries by population in 2020, sourced from UN population data loaded via `d3.csv`. The `App` component fetches the data asynchronously and displays a loading message until ready. D3 utilities `scaleBand`, `scaleLinear`, and `max` compute the chart’s scales and domain, while React maps the data array to SVG `rect` elements, positioning and sizing each bar according to the country name and population value.

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.

MIT Licensed

Similar vizzes