Skip to main content
100%

Axes with React & D3

✓ Published1🌍 Public
WWasanta Pruttisarikorn
Last edited Dec 27, 2022
Created on Dec 27, 2022
Forked from Megin convention

This example shows a horizontal bar chart of the top 10 most populous countries in 2020, rendered as SVG in React. D3 utilities load the CSV data, compute the scales, and generate tick marks, while React manages the component state and renders the chart elements. The bar lengths reflect each country’s population, with axis lines and labels positioned using D3’s scaleBand and scaleLinear. The chart uses D3 v5 and React 16.9, with data sourced from a GitHub-hosted CSV.

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