Skip to main content
Public

Share visualization

Loading preview…

NFL Touchdowns vs. Interceptions Scatter Plot

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

NFL Touchdowns vs. Interceptions Scatter Plot

0
SSamuel Karkache
Last edited Sep 19, 2024
Created on Sep 17, 2024

This scatter plot visualizes the relationship between NFL passing touchdowns and interceptions for quarterbacks in the 2023 season, with each circle representing a player. The chart positions interceptions on the x-axis and touchdowns on the y-axis, using linear scales to map the data. Built with D3.js, the visualization employs `scaleLinear` for both axes and renders circles with a fixed radius and opacity, overlaid on a light gray inner rectangle. Axis labels are added using the `@curran/axis-labels` package, while the underlying dataset comes from the `@SamKarkache/nfl-passing-yards-2023` package. The code calculates axis domains from the data's extent and includes margin-based positioning for the plot area.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed