🌍 Public
Viewing a saved revision (read-only)
07a4317a2cb24101baab70a92ae405f6
Fork of CV: pie chart
This example shows a pie chart visualizing device usage by value across four categories: Smartphone, Tablet, iwatch, and Laptop. The chart is rendered as SVG within a React component using d3.pie and d3.arc to generate the paths and d3.scaleOrdinal for color encoding. Labels are positioned at each slice’s centroid. The visualization uses static data defined inline and d3.v7 APIs to build the chart entirely in App.jsx.
AI-generated description