Skip to main content
100%

Fork of Pie Chart

✓ Published0🌍 Public
Vvinodreddysagam929@gmail.com
Last edited Mar 28, 2024
Created on Mar 27, 2024
Forked from Pie Chart

This example renders an aggregated pie chart of car selling prices grouped by make, with labels and leader lines connecting each slice to its name. The code uses D3 v7’s `d3.group`, `d3.sum`, `d3.pie`, and `d3.arc` to compute and draw the chart in SVG, along with a color scale via `d3.scaleOrdinal`. A legend and a data table are also generated from the same aggregated dataset, styled on a light blue background.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes