Skip to main content
100%

Cars Scatter Plot

✓ Published1🌍 Public
Bbenholvey
Last edited Aug 5, 2020
Created on Jul 23, 2020
Forked from Cars Scatter Plot

This scatter plot shows football match data from the English Premier League, with each circle representing a match and colored by the number of goals scored. The visualization maps match days on the x-axis and total goals per match on the y-axis, using a linear scale for both. The code uses D3 v5’s `csv`, `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` functions to load data, compute scales, and render axes with SVG circles. It also computes rolling averages for home and away performance before rendering.

AI-generated description

An example including some commonly used features of SVG.

MIT Licensed

Similar vizzes