Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Asst2_Q1

Public visualization

Viewing a saved revision (read-only)

748f185bec2f4a7b9afb13117cde6e74

Asst2_Q1

0 stars0🌍 Public
Rrakesh.kavuru@outlook.com
Last edited Apr 13, 2024
Created on Apr 12, 2024
Forked from Hello VizHub

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 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.