🌍 Public
Viewing a saved revision (read-only)
33ad17d9a88d444a963a76970b30f7d4
No content available for this visualization.
Fork of Fork of D3 Starter
This example visualizes laptop sales distribution by company using a pie chart, with each slice labeled by its percentage of the total. Data is loaded from a CSV file via a GitHub Gist, and quantities are aggregated by company. The chart is rendered as an SVG using D3 v7, employing `d3.pie` and `d3.arc` to generate the pie geometry, `d3.scaleOrdinal` for categorical colors, and `d3.schemeCategory10` for the palette. A legend is built manually with SVG rectangles and text elements.
AI-generated description