🌍 Public
Viewing a saved revision (read-only)
78d6e123086e4e02b113fb3f28446475
Fork of scatter plot fruit
This pie chart shows the distribution of car brand sales for six brands, with each slice sized proportionally to its sales figure and labeled directly on the chart. A color-coded legend to the right identifies each brand. Built with D3 v7, the visualization uses `d3.pie()` to compute the arc angles and `d3.arc()` to render the SVG paths, while `d3.scaleOrdinal` with the `schemeTableau10` palette assigns colors, and labels are placed using the arc centroid method.
AI-generated description