🌍 Public
Viewing a saved revision (read-only)
f7420f1047bd48d2a70405ffc3407a7a
Pie Chart Black Hat
This pie chart visualizes categorical data with labeled slices using D3 v6. Eleven groups (a through k) are encoded as colored arcs with black strokes and 0.7 opacity, created through the `d3.pie` and `d3.arc` generators. The SVG rendering includes group labels positioned via `arcGenerator.centroid`, with colors assigned from the `d3.schemeSet2` ordinal scale. The chart uses dummy data embedded in the code and renders within a React-ready HTML page.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.