Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Rendering Data with React & D3

Public visualization

Fork of Rendering Data with React & D3

0 stars1🌍 Public
CCatalina Vajiac
Last edited Feb 28, 2022
Created on Feb 28, 2022

This example shows a horizontal bar chart of the top 10 countries by population, using React to render SVG elements and D3 for data processing and scales. The visualization uses the `UN_Population_2019` dataset, loaded via `d3.csv`, with a linear scale for population values and a band scale for country names. The code includes separate React components for the axes and marks, with D3’s `scaleBand` and `scaleLinear` functions, demonstrating a clean separation of data handling and UI rendering.

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