Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Assignment2_Q1

Public visualization

Viewing a saved revision (read-only)

f1445f9329034f789c4b72383a017db7

Assignment2_Q1

0 stars0🌍 Public
AAnirudhaKulakarniKaranam@my.unt.edu
Last edited Apr 12, 2024
Created on Apr 12, 2024
Forked from Hello VizHub

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 description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.