Skip to main content
100%

Activity 7

✓ Published1🌍 Public
Hhlmn4936@gmail.com
Last edited Nov 6, 2024
Created on Nov 6, 2024

This pie chart visualizes the top 10 store areas by sales, using a dataset fetched via `d3.csv` from a GitHub-hosted CSV file. Slices are generated with `d3.pie()` and drawn as SVG paths using `d3.arc()`, with each slice labeled by its store area and sales value. A legend, built with SVG groups, maps the color-coded categories to their names. The chart uses a custom color scale from `d3.scaleOrdinal()` and is styled with a bordered SVG container.

AI-generated description

A demonstration of reusable piechat .

MIT Licensed

Similar vizzes