🌍 Public
Viewing a saved revision (read-only)
9a7d4aa670804235a8a546c30bc40f7c
NFL Passing Yards Visualization
This example visualizes NFL passing statistics as a scatter plot, with each circle representing a player’s performance across two metrics. The chart uses D3’s `scaleLinear` and `axisLeft` to map data points, while the `xAxis` and `yAxis` functions from the `@curran/axis-labels` library add labeled axes. The visualization reads from a dataset, rendering circles with configurable radius and opacity. The code demonstrates a reusable `viz` function that accepts data accessors and margin settings, allowing the same plotting logic to be applied to any dataset, such as the Penguins Dataset referenced in the README.
AI-generated descriptionA simple scatter plot with D3 showing the Penguins Dataset.
Challenge
- Fork this viz
- Modify it to show your data