Skip to main content
100%

Fork of Rendering Data with React

✓ Published0🌍 Public
NNick Jefford-Horn
Last edited Jun 7, 2021
Created on Jun 7, 2021

This example visualizes CSS named colours as a uniform pie-like arrangement of filled SVG wedges, each coloured by its corresponding hex value from a CSV dataset. The React component loads the data using `d3.csv` and renders each wedge as a React `<path>` element with `d3.arc`, mapping every colour to the same fixed angle span. The SVG is centered on a 960x500 canvas, and the page displays a loading message until the data arrives.

AI-generated description

A program that loads in some data about CSS named colours using D3 utilities and uses React render the data.

MIT Licensed

Similar vizzes