Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Activity 7_Q1

Public visualization

Viewing a saved revision (read-only)

58c5f81fa62947c4909425cb460ddb03

Activity 7_Q1

0 stars1๐ŸŒ Public
KKrishna.
Last edited Nov 2, 2025
Created on Nov 2, 2025
Forked from Activity 7

This interactive pie chart displays the distribution of movie ratings (G, PG, PG-13, R) across different genres. A dropdown menu allows viewers to toggle between individual rating classes or their total, with each genre represented as a colored slice whose angle encodes the count. The visualization uses D3 v7 APIs including `d3.pie`, `d3.arc`, and `d3.scaleOrdinal` to generate the SVG, while `d3.csv` fetches data from a remote gist. Hovering over a slice reveals a tooltip with the genre and exact value.

AI-generated description