Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 7.1

Public visualization

Viewing a saved revision (read-only)

527ec60094df4d0996443aa4548a4f79

Activity 7.1

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