Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ice7task2

Public visualization

ice7task2

0 stars0🌍 Public
Kkmuktha09@gmail.com
Last edited Oct 24, 2025
Created on Oct 24, 2025

A pie chart displays the aggregated sums of three metrics—A, B, and C—from a multiseries CSV dataset. Using D3.js v7, the code loads the data via `d3.csv`, computes totals with `d3.sum`, and generates slices with `d3.pie` and `d3.arc`. Each slice is labeled using the arc’s `centroid`, and a color-coded legend is appended manually. The SVG rendering uses ordinal color scaling and explicit positioning for the chart and legend.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed