Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Pie chart , ICE-7

Public visualization

Pie chart , ICE-7

0 stars0🌍 Public
AAmanullah007
Last edited Mar 27, 2022
Created on Mar 27, 2022
Forked from Hello HTML

A pie chart displays the top ten weekly product sales in a shop, with each slice sized by the `weeksales` value and colored via `d3.scaleOrdinal`. The code loads CSV data from a GitHub gist using `d3.csv`, computes the pie layout with `d3.pie`, and draws SVG paths with `d3.arc`. Slice labels show formatted sales values, and a legend lists product names with matching colors and values.

AI-generated description

A bare minimum HTML page.

Comments

Sign in to join the discussion.

MIT Licensed