Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Question 1

Public visualization

Viewing a saved revision (read-only)

727329e01a89450b8581466abbd1af32

Question 1

0 stars0🌍 Public
Ppavanbellam@my.unt.edu
Last edited Apr 11, 2025
Created on Apr 11, 2025
Forked from Hello VizHub

This pie chart visualizes sales distribution by product category, using a categorical color scale to differentiate segments and displaying numeric values directly inside each slice. It loads CSV data from a GitHub Gist, converts the values to numbers, and renders the chart with d3.pie, d3.arc, and d3.scaleOrdinal. A custom legend built with SVG rectangles and text identifies each category, while positional labels for "Product Categories" and "Sales Value" reinforce the chart’s context. The visualization uses D3 v7 with an SVG-based rendering approach.

AI-generated description