Skip to main content
Public

Share visualization

Loading preview…

Historical NBA Performance

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Historical NBA Performance

1
QQingyang Wang Profolio
Last edited Feb 13, 2023
Created on Jan 23, 2023
Forked from Loading Data

This example visualizes historical win-loss records for every NBA team, showing winning rates over time. The data is fetched as CSV and parsed with `d3.csvParse`. While loading, the state flag triggers a re-render; the code currently outputs the parsed data as raw JSON text in a `pre` element using `d3.select` and `.text()`. The visualization logic is scaffolded through a `viz` function that manages state transitions via a `setState` callback, with the fetch initiated when `state.data` is undefined.

AI-generated description

Dataset source from: https://data.world/gmoney/nba-team-records-by-year

This dataset shows historical game record for each team in NBA. It also includes the winning rate for each team in each year.

Comments

Sign in to join the discussion.

MIT Licensed