Skip to main content
100%

Anitha Shivaramaiah (11537410) - ICE 7, Pie Chart

✓ Published0🌍 Public
AAnitha Shivaramaiah
Last edited Mar 30, 2023
Created on Mar 29, 2023
Forked from D3 Starter

This pie chart visualizes monthly expenses by sorting the data by amount and displaying the top ten cost categories as colored slices with a legend listing each expense name and its dollar value. The chart is rendered as an SVG using D3 version 5, loading CSV data from a GitHub gist and leveraging `d3.pie`, `d3.arc`, `d3.scaleOrdinal`, and `d3.schemeCategory10` for layout, shape generation, and color mapping. Mouseover events log the expense amount to the console.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes