🌍 Public
Viewing a saved revision (read-only)
748f185bec2f4a7b9afb13117cde6e74
Asst2_Q1
This pie chart displays the distribution of scores across different genres, using platforms as slice labels. It loads a CSV dataset from a GitHub gist via `d3.csv`. The chart uses the `d3.pie` layout and `d3.arc` generators to create SVG paths, with colors assigned through `d3.scaleOrdinal` and `d3.schemeCategory10`. Hovering over a slice triggers a mouseover event that displays the Action value at the arc’s centroid using `arc.centroid`.
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.