Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Line Plot comparing 2021-2022 PL teams xP to Total points Updated

Public visualization

Viewing a saved revision (read-only)

79afdececae748e7b3a022f89db5f2fc

Line Plot comparing 2021-2022 PL teams xP to Total points Updated

0 stars1🌍 Public
MMatthew Dzwil
Last edited Apr 27, 2023
Created on Apr 13, 2023

This interactive line plot compares a selected Premier League team's expected points (xP) to their actual points across the 2021-2022 season. Users choose a team by clicking a button with the team’s logo, which updates the visualization using D3.js v7. The chart uses `d3.scaleLinear` and `d3.line` to render the two lines, with axes generated via `d3.axisLeft` and `d3.axisBottom`. Team data is fetched from a GitHub Gist CSV file.

AI-generated description