Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Pie Chart

Public visualization

Fork of Pie Chart

0 stars0🌍 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.

Comments

Sign in to join the discussion.

MIT Licensed