Skip to main content
100%

Line Plot comparing 2021-2022 PL teams xP to total points

✓ Published1🌍 Public
MMatthew Dzwil
Last edited Apr 7, 2023
Created on Apr 5, 2023

This interactive line plot compares each Premier League team's expected points (xP) against their actual points across the 2021-2022 season. Users select a team via image buttons or a dropdown menu, dynamically updating the chart to display two overlaid lines: a solid line for actual points and a dashed black line for expected points. The visualization uses d3.scaleLinear and d3.line to construct the axes and series from CSV data, with team colors sourced from stadium location data.

AI-generated description
MIT Licensed

Similar vizzes