Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_q3

Public visualization

Activity6_q3

0 stars0🌍 Public
Llokasaivenkatatammineedi@my.unt.edu
Last edited Mar 30, 2025
Created on Mar 30, 2025
Forked from Hello VizHub

This visualization shows the percentage contribution of five statistical categories—points, rebounds, assists, steals, and blocks—for ten NBA players, using a stacked horizontal bar chart where each player’s row sums to 100%. The code loads data from a CSV via `d3.csv`, normalizes each player’s stats, and renders the SVG with `d3.stack()`, `d3.scaleOrdinal` for colors, and `d3.scaleBand` for the y-axis. Interactive tooltips appear on mouseover, displaying the category’s percentage using `d3.format`.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed