Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ICE7 Pie Chart

Public visualization

ICE7 Pie Chart

0 stars1🌍 Public
SSharmaAshwini
Last edited Mar 23, 2023
Created on Mar 23, 2023
Forked from [TEST] Pie Chart

This D3.js (v5) pie chart visualizes the proportional sales share of three customer segments—Consumer, Corporate, and Home Office—using data loaded from a CSV file. The chart employs `d3.pie` to compute arc segments, `d3.arc` for the pie geometry, and a categorical color scale from `d3.scaleOrdinal` to differentiate segments. An interactive legend displays each segment’s label and its percentage value, formatted with `d3.format`. The SVG canvas is 1280×800 pixels, with the pie centered and legends positioned to the right for clarity.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed