Fork of Player Statics using reusable scatter plot
✓ Published1🌍 Public
This example presents an animated, reusable scatter plot for cricket player analysis, cycling through four attribute comparisons such as Runs versus Strike Rate and Matches Played versus Player of the Match. It fetches CSV data via the Fetch API and uses d3.csvParse, then builds the chart with D3 v7 scales, axes, and SVG elements. Each plot disappears and redraws with a new attribute pair, while a tooltip provides hover details and axis labels and titles clarify the current view.
AI-generated descriptionMIT Licensed