Skip to main content
100%

Scatter Plot

✓ Published0🌍 Public
Pprint("Ayush")
Last edited May 7, 2024
Created on May 7, 2024
Forked from Scatter Plot

This example displays a scatter plot of 2018 football player data, comparing goals against shots taken. Each data point is a circle colored by the player’s league, with league-specific colors like blue for the Premier League and red for the Bundesliga. The visualization uses D3’s `scaleLinear` and `extent` to map the numeric axes, along with custom axis label rendering from the `@curran/axis-labels` library. A light gray `rect` fills the plot’s inner region, while circles are drawn with configurable radius and opacity, based on data from the `@eschuman20/footballscorers` package.

AI-generated description
MIT Licensed

Similar vizzes