Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

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

Public visualization

Viewing a saved revision (read-only)

a332114d168d4b8286b9e0bfbdd1896a

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

0 stars1🌍 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