Skip to main content
100%

Fork of Rendering data with React

✓ Published0🌍 Public
Ccoltonjcox92
Last edited Jan 26, 2022
Created on Jan 26, 2022

This visualization displays all named CSS colors as equal-sized slices in a full circular pie chart, with each slice filled with its corresponding hex color value. Built with React and D3 utilities, the program fetches color data from a CSV file using `d3.csv` and renders the chart as SVG paths. It uses a D3 arc generator (`d3.arc`) to compute the path geometry, while the React component manages state and maps the data to SVG `<path>` elements after processing the API response.

AI-generated description

A program that [displays a range of CSS colors] (https://gist.github.com/coltonjcox92/a75ff0066168073dd2c4ac2c24cb6e59) using D3 utilities, and uses React to render the data.

MIT Licensed

Similar vizzes