Table of PL xG Data with both xP and Points
✓ Published1🌍 Public
MMatthew Dzwil
Last edited Feb 27, 2023
Created on Feb 27, 2023
Forked from Line Chart PL xG Data with both xP and Points
This example displays a table of Arsenal’s Premier League data, showing matchweek, expected points (xP), actual points, and expected points table position. The code fetches a CSV file from a GitHub gist, parses it with `d3.csvParse`, and filters rows for Arsenal. It builds an HTML table using D3’s selection and data-join methods, appending table headers and rows. The visualization also includes commented-out D3 line chart code using `d3.line()` and axes, but the active output is purely the tabular view.
AI-generated descriptionA scatter plot of the PL xG data with axes.
Help from:
MIT Licensed