NFL homeFieldAdvgt 3-18-23
This visualization explores NFL home field advantage by plotting team logos on a scatterplot, line chart, or map based on user-selected weather and win percentage metrics. Interactive dropdown menus let viewers switch between temperature, rainfall, and snowfall data, as well as toggle between home field win percentage and percent of wins at home. The map view uses d3.geoAlbersUsa and d3.geoPath projections with team logos as images, while the scatter and line charts use d3.scaleLinear and d3.line. The data spans the 2015-2023 seasons from pro-football-reference.com, with teams normalized across relocations and rebrandings.
AI-generated descriptionNFL home field advantage from weather.
This week, I cleaned up my selectors using the menu techniques in the lecture video, and I plotted the teams onto the map.
Data from 2023-2015 seasons.
Data from https://www.pro-football-reference.com/