Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

nba over time vert bar

Public visualization

nba over time vert bar

0 stars1🌍 Public
PPhilip Rago
Last edited Jan 1, 2022
Created on Jan 1, 2022

This interactive bar chart visualizes NBA player statistics across career timelines, filtering by active status and allowing selection of metric (points, assists, rebounds, experience, all-star appearances) and timeline type (draft year or birthdate). The visualization uses D3 v7 with d3.rollups for data aggregation, d3.scaleBand and d3.scaleLinear for scales, and d3.sliderBottom for interaction. The code loads CSV data, groups records by time period, and renders animated vertical bars whose heights represent the average value of the selected statistic per grouping.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed