Baseball Scatterplot
Baseball Scatterplot visualizes 1986 baseball player statistics from the Baseball.csv dataset, using D3.js v4 to render an SVG scatterplot. Each player is a circle positioned by at-bats (x-axis) and runs (y-axis), with the circle's radius scaled to home runs using `d3.scaleSqrt`. A categorical color scale encodes the player's team. The chart includes axis tick marks and a legend; hovering over a team in the legend fades out all other circles, highlighting only that team's players. Player names appear on hover.
AI-generated descriptionBaseball statistics from 1986.
Bubble radius scaled to home runs. Data from the R package Visualizing Categorical Data.
forked from <a href='http://bl.ocks.org/syntagmatic/'>syntagmatic</a>'s block: <a href='http://bl.ocks.org/syntagmatic/ba23d525f8986cb0ebf30a5dd30c9dd2'>Baseball Scatterplot</a>