🌍 Public
Viewing a saved revision (read-only)
7f2ce806cbb54c6496ae921deb9396d7
Question1_PieChart
This pie chart displays the proportional distribution of 30 car brands by their reported values. Each slice is sized according to its numeric value, with labels positioned at the slice centroids. A legend lists the brands and their corresponding colors. Created with D3 v7, the visualization uses `d3.pie()` to compute arc data, `d3.arc()` to generate the SVG paths, and `d3.scaleOrdinal` with `schemeCategory10` for coloring. The SVG container is centered, with labels rendered as text elements and the legend manually constructed.
AI-generated description