Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Table of PL xG Data with both xP and Points

Public visualization

Table of PL xG Data with both xP and Points

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

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 description

Comments

Sign in to join the discussion.

MIT Licensed