NFL Passing Yards Visualization
✓ Published0🌍 Public
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
MIT Licensed