Sucharitha_Kudapa_Activity
✓ Published0🌍 Public
This example presents a pie chart built with D3.js, visualizing categorical data as proportional slices. The code uses D3’s `d3.pie()` and `d3.arc()` generators to compute angles and render SVG paths, with colors assigned via a categorical scale. The chart displays labels and values for each segment, updating smoothly with `transition.attrTween` when the data changes. It demonstrates a clean, static layout with hover tooltips, relying on standard SVG rendering for a compact, readable presentation.
AI-generated descriptionPIECHART
MIT Licensed