Skip to main content
100%

Fork of Rendering Data with React & D3

✓ Published0🌍 Public
SSemyon
Last edited Jul 9, 2021
Created on Jul 7, 2021

This example displays a horizontal bar chart of the top 10 countries by population for 2020, using React to render SVG elements and D3 for data loading and scales. The chart shows population values as bars with labeled axes, including a formatted bottom axis using `format(".2s")`. Data is loaded via `d3.csv` from a UN population dataset, with country names on the y-axis using `scaleBand` and population on the x-axis using `scaleLinear`. React components such as `AxisBottom`, `AxisLeft`, and `Marks` manage the visualization structure.

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