Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity7_Q1

Public visualization

Viewing a saved revision (read-only)

569b80371a06410f978f26ab9922bab8

Activity7_Q1

0 stars0🌍 Public
Aa9.hemraj@gmail.com
Last edited Nov 13, 2025
Created on Nov 13, 2025

This pie chart displays the proportional sales distribution across five product categories—Electronics, Clothing, Groceries, Furniture, and Stationery—using a static inline dataset. Each slice is colored via a d3.scaleOrdinal with the d3.schemeSet2 palette, and labels are positioned using the arc centroid. The visualization is rendered as SVG through D3 v7, with slices drawn by d3.arc, pie layout generated by d3.pie, and a legend constructed from appended rectangles and text elements.

AI-generated description