Skip to main content
100%

Fork of rendering data with react

✓ Published1🌍 Public
NNart Williamson
Last edited Apr 26, 2021
Created on Apr 26, 2021

This example uses React to render a full-screen pie chart of CSS named colors, with each color represented by an arc segment at equal value. The visualization loads data from a CSV file containing named colors and their hex values, fetched via a URL. The chart is built declaratively using React elements, with D3.js v5 APIs such as `csv` for parsing and `pie` and `arc` for calculating segment paths. SVG paths are generated and filled with the hex values from the data.

AI-generated description

colors rendered in react

MIT Licensed

Similar vizzes