Skip to main content
100%

ICE 7 - Pie Chart

✓ Published0🌍 Public
DDaniel Mata
Last edited Mar 27, 2022
Created on Mar 25, 2022
Forked from Hello VizHub

A pie chart visualizes the distribution of instruments sold, breaking down totals for Guitar, Bass, Drums, and Keyboard from a CSV dataset. The chart renders as an SVG using D3 v7’s `d3.pie` and `d3.arc` generators, with a color scale from `d3.schemeSet2`. A legend lists each instrument with its count, and the chart is accompanied by a title. Data is grouped and counted using `d3.group` and `d3.count`, with the visualization displayed in a React-compatible HTML page.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes