Untitled
✓ Published0🌍 Public
This example shows a simple donut-style pie chart displaying five categorical items (A through E) with their corresponding counts. It uses the D3.js library to compute arc paths with the `d3.pie` and `d3.arc` functions, renders them as SVG paths, and colors each slice with `d3.scaleOrdinal`. Interactive tooltips appear on hover, displaying the item name and count. The chart is built as a React component, with D3 handling the SVG rendering and styling.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed