Fork of CE-7 Q2
✓ Published2🌍 Public
A pie chart displays the average seasonal temperature distribution in India for 2017, with four slices for winter, spring, summer, and autumn ranging from 23.83°C to 32.33°C. Using D3 v7, the code computes arcs with d3.pie and d3.arc, renders SVG paths, labels each slice with d3.arc for centroid placement, and pairs the chart with a legend built from d3.scaleOrdinal and the d3.schemeSet3 color palette.
AI-generated descriptionMIT Licensed