Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Q1_VT

Public visualization

Q1_VT

0 stars0🌍 Public
RRJVENKATESH789@GMAIL.COM
Last edited Apr 20, 2024
Created on Apr 20, 2024
Forked from Hello VizHub

This pie chart visualizes the distribution of video game genres based on user ratings below 5.0. The visualization loads CSV data from a GitHub Gist and renders it as a donut-style chart using D3.js. The code employs `d3.pie()` to compute arc segments, `d3.arc()` for both the outer path and inner label positioning, and `d3.scaleOrdinal()` with `d3.schemeCategory10` for color encoding. Each genre label is placed at the centroid of its corresponding arc using the `label.centroid()` transformation.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed