Skip to main content
100%

Reusable D3 Scatter Plot

✓ Published0🌍 Public
AArun Kumar M
Last edited Oct 25, 2025
Created on Oct 24, 2025

This interactive visualization displays T20I cricket batting statistics as a scatter plot, with points colored by tertile groups of total runs scored using a sequential PuBu color scale. A cycling animation updates both axes every three seconds, showing different statistical pairings like Runs versus Batting Average, Strike Rate, Centuries, Fifties, and Sixes. The code imports data from a CSV file, uses the reusable scatterPlot module with D3’s scaleLinear, axisLeft, and axisBottom APIs, and applies ordinal color scaling with d3.scaleOrdinal and d3.schemePuBu.

AI-generated description
MIT Licensed

Similar vizzes