Fork of Rendering Data with React
✓ Published0🌍 Public
This example demonstrates how to render a dataset of CSS named colors as a half-donut chart using React and D3 v7. The visualization loads CSV data from a GitHub gist, displaying each color as a pie arc path filled with its corresponding RGB hex value. The code uses React hooks (useState, useEffect) to fetch and store the data, d3.csv for parsing, and d3.arc for generating the path geometry, with all output rendered as SVG elements within a React component.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed