Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Internet Pie Chart

Public visualization

Internet Pie Chart

0 stars0🌍 Public
BBhanuGadde@my.unt.edu
Last edited Apr 2, 2025
Created on Apr 2, 2025
Forked from Fork of Pie Chart

A pie chart displays the distribution of user counts across three internet platforms: Instagram at 41, Facebook at 29, and YouTube at 29. The visualization uses D3.js v7 to compute the pie layout via `d3.pie()` and renders each slice as an SVG path with `d3.arc()`. Platform names are placed at each slice's centroid, and a separate HTML legend maps platform labels to their corresponding colors from `d3.schemeCategory10`. The chart is drawn inside a 500×500 pixel SVG element with margins applied to the radius calculation.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed