Skip to main content
100%

Scatter Plot Simple PL xG Data

✓ Published1🌍 Public
MMatthew Dzwil
Last edited Feb 19, 2023
Created on Feb 19, 2023

This scatter plot visualizes Arsenal's performance data from the 2021-22 Premier League season, displaying two overlapping datasets from a CSV file: actual points scored and expected points (xG) per matchweek. Both series appear as red and green circles plotted against matchweek on the x-axis, with no axes or labels visible. The visualization uses d3.scaleLinear for both coordinate mappings and d3.scaleOrdinal for color encoding, while data is fetched and parsed with d3.csvParse.

AI-generated description

A scatter plot of the PL xG data with no axes.

Help from: https://observablehq.com/@d3/d3-scaleordinal

MIT Licensed

Similar vizzes