Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity7.1_Qustn 1

Public visualization

Viewing a saved revision (read-only)

ff1c2eaebd47437580d2713d1138d4ac

Activity7.1_Qustn 1

0 stars1🌍 Public
PPreethamreddyannavaram@my.unt.edu
Last edited Apr 6, 2025
Created on Apr 6, 2025
Forked from Hello VizHub

This pie chart visualizes average hours spent per week on various social media platforms, sourced from a CSV file loaded with `d3.csv`. It uses `d3.pie`, `d3.arc`, and `d3.scaleOrdinal` to generate the SVG slices and a color scale. Labels and connector polylines are positioned via `arc.centroid` and `outerArc.centroid`. Clicking a slice updates an HTML div with platform-specific details, while a legend lists all platforms.

AI-generated description