Fork of CV: pie chart
✓ Published0🌍 Public
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 descriptionMIT Licensed