🌍 Public
Viewing a saved revision (read-only)
c42be34158c4440b87b2988766940e72
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 descriptionA simple scatter plot with D3 showing the Top Football League Scorers,
Challenge
- Fork this viz
- Modify it to show your data