Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Axes with React & D3

Public visualization

Axes with React & D3

0 stars1🌍 Public
KKazushige Okuma
Last edited Oct 20, 2021
Created on Oct 20, 2021
Forked from Margin Convention

This example shows a horizontal bar chart of the top 10 most populous countries in 2020, with axes rendered using React components and D3 scale functions. It loads CSV data from a GitHub-hosted UN Population dataset, parses the population column with `d3.csv`, and uses `scaleBand` and `scaleLinear` to position bars and ticks. The SVG output is created in a React component, with axis lines, tick labels, and rectangles generated from mapped data arrays.

AI-generated description

A program that loads some data about CSS named colors using D3 utilities, and use React state to render the data as a radial burst

Comments

Sign in to join the discussion.

MIT Licensed