🌍 Public
Viewing a saved revision (read-only)
e5afc8854d26450b854f56319c395e4b
Assignment2_Q1
This pie chart visualizes the distribution of video game scores across genres, based on IGN data loaded from a CSV file using D3.js. The code uses D3’s `pie` layout and `arc` generator to compute and render the slices as SVG paths, with each genre assigned a color via a hue rotation. The chart is generated from a single data row and displayed without labels or legend, emphasizing the proportional comparison between categories.
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.