Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Fork of scatter plot fruit

Public visualization

Fork of scatter plot fruit

0 stars0๐ŸŒ Public
Kkovuribalanagavinay@gmail.com
Last edited Oct 26, 2025
Created on Oct 26, 2025

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

Comments

Sign in to join the discussion.

MIT Licensed