🌍 Public
Viewing a saved revision (read-only)
f1445f9329034f789c4b72383a017db7
Assignment2_Q1
This interactive pie chart visualizes the distribution of video game ratings across different platforms, using the "Action" genre as the slice value. The chart loads CSV data from an external GitHub repository via `d3.csv` and renders it as an SVG with D3 v7. Mouseover interactions change arc opacity and display the numeric Action score at the centroid using `arc.centroid`, while each slice is permanently labeled with its platform name. The visualization relies on `d3.pie`, `d3.arc`, and `d3.scaleOrdinal` with `d3.schemeCategory10` for coloring.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.