Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of ICE7 Pie Chart

Public visualization

Viewing a saved revision (read-only)

ba0ec48ab6b34ca0837f4c8885ccfd25

Fork of Fork of ICE7 Pie Chart

0 stars0🌍 Public
RRevanthGrreddy
Last edited Jul 2, 2022
Created on Jul 2, 2022

This chart displays the ten best-selling beauty products by revenue as a simple pie chart, with each slice sized proportionally to sales value and colored by category. A legend to the right pairs each product name with its revenue, formatted using D3’s `format` function. Built with D3 v5, it loads data from a JSON file and renders slices via `arc` and `pie` generators within an SVG canvas, using `scaleOrdinal` with the `schemeCategory10` palette for coloring.

AI-generated description