Skip to main content
100%

Fork of CV: pie chart

✓ Published0🌍 Public
AAddiga Himesh Chander
Last edited Mar 29, 2026
Created on Mar 29, 2026

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
MIT Licensed

Similar vizzes