Skip to main content
100%

ICE-7 Q2 Sadvik

✓ Published0🌍 Public
SSadvik
Last edited Mar 29, 2026
Created on Mar 29, 2026
Forked from D3 Starter

This pie chart shows the distribution of vehicle types—Sedan, SUV, Hatch, and Crossover—from a small, static dataset of ten entries. The chart is rendered as an SVG using D3 v7, leveraging `d3.pie` to compute arc segments and `d3.arc` to generate the paths for each slice. Colors are assigned via `d3.scaleOrdinal` with the `schemeCategory10` palette, and labels are positioned using the arc’s `centroid` method.

AI-generated description
MIT Licensed

Similar vizzes