Skip to main content
Public

Share visualization

Loading preview…

Fork of Rendering Data with React & D3

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Fork of Rendering Data with React & D3

0
Hhenry c
Last edited Jun 5, 2022
Created on Jun 5, 2022

This example visualizes CSS named colors as a radial burst of filled arcs arranged in a circle. It loads color data from a CSV file using `d3.csv`, then renders each color as an SVG path computed with `d3.pie` and `d3.arc`, using the hex value for the fill. React manages the component state and renders the SVG elements, while D3 handles the data loading and arc geometry. The visualization updates once the data arrives, showing the colors arranged by their order in the dataset.

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