Skip to main content
100%

Pie Chart Black Hat

✓ Published0🌍 Public
PPranay Matalia
Last edited Apr 26, 2022
Created on Apr 26, 2022
Forked from HTML Starter

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 description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes