Skip to main content
100%

Historical NBA Performance

✓ Published1🌍 Public
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.

MIT Licensed

Similar vizzes