Skip to main content
100%

Start

✓ Published0🌍 Public
AAbdessalem Lagraf
Last edited Sep 19, 2022
Created on Sep 19, 2022

This example renders a horizontal bar chart of the top ten countries by 2020 population using React and D3 utilities. It loads CSV data from a GitHub gist via the `d3.csv` method, then maps each row’s population to bar widths using `d3.scaleLinear` and country names to vertical positions with `d3.scaleBand`. The SVG bars are generated as React `<rect>` elements, with the dataset displayed in descending order.

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