Skip to main content
100%

Activity 7.1

✓ Published0🌍 Public
Nnvishalreddy8951@gmail.com
Last edited Apr 13, 2025
Created on Apr 13, 2025
Forked from Hello VizHub

This pie chart visualizes sales by product, with each slice sized according to the product's sales value and colored using a categorical color scheme. The visualization is built with D3.js (v7), using `d3.pie()`, `d3.arc()`, and `d3.scaleOrdinal` to generate and style the chart, with an SVG-based legend and labels positioned via arc centroids. Data is loaded asynchronously from a remote CSV file using `d3.csv`, and the chart is rendered entirely through SVG elements.

AI-generated description
MIT Licensed

Similar vizzes