NFL Stats Data
✓ Published3🌍 Public
This example displays NFL matchup and scoring data loaded from two CSV files. The visualization initially shows raw parsed data as JSON text using D3’s `csvParse` and `select`/`join` pattern. It fetches two datasets—matchups and per-team scores—and converts numeric fields like points for/against and wins. The code demonstrates a state-management flow where data loads asynchronously and triggers re-renders via a custom `setState` function, though no graphical chart is yet implemented beyond the text output.
AI-generated descriptionNFL Games Data
- This is data from https://www.pro-football-reference.com/ that I scraped using a NodeJS script for a database class.
- For that class, we made an application that analyzed the mathchups verse betting odds to help sports betters make an informed bet. I think it would be cool to take this data but make a visualization about it rather than just viewing it in tables as we did in that class.
- If I end up using this dataset, I am going to rescrape the data to get data from the past 2 seasons as well.
MIT Licensed