Skip to main content
100%

Fork of Fork of ICE7 Pie Chart

✓ Published1🌍 Public
Ssowmyanagula@my.unt.edu
Last edited Mar 26, 2022
Created on Mar 26, 2022

A donut chart displays the revenue for ten beauty products, with arc size proportional to sales value and a legend mapping each product to its revenue. The visualization uses D3 v5, loading data from a JSON file and rendering with SVG. It defines pie segments using `d3.pie` and `d3.arc`, applies a categorical color scale from `d3.scaleOrdinal`, and constructs the legend with appended SVG groups, rectangles, and text elements. The chart title and legend labels specify the top-selling items, such as eyeshadows and eyeliner.

AI-generated description
MIT Licensed

Similar vizzes