Skip to main content
Public

Share visualization

Send this visualization to others.

Reusable D3 Scatter Plot

Public visualization

By arun664 on VizHub

LinkedIn caption

LinkedIn cannot prefill the post text. Copy the caption, then paste it in LinkedIn. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code

The embed preserves the visualization's visibility and project dataset permissions.

Download & exportHTML, source ZIP and authorized project data

Source ZIP contains editable visualization files; it does not include project datasets. Standalone HTML is available where authorized and packages readable referenced data for offline use. Dataset ZIP requires project read permission.

Standalone HTMLSource ZIP
Publishing & handoffCopy a client maintenance summary

Includes the canonical link, visibility, and available export formats. Confirm dataset attribution, licensing and maintenance responsibilities with the publisher.

Reusable D3 Scatter Plot

0 stars0Public
AArun Kumar M
Last edited Oct 25, 2025
Created on Oct 25, 2025

This reusable D3 scatter plot visualizes T20I cricket batting leaders, plotting total runs against batting average for individual players. The component groups players into low, medium, and high run-scoring tertiles, which are distinguished using an ordinal color scale based on `d3.schemePuBu`. The code loads remote CSV data via `d3.csv`, applies custom row parsing to extract player countries, and implements a configurable chart component with settable accessors for dimensions, margins, and data values. The plot renders as SVG with axes generated through `d3.axisLeft` and `d3.axisBottom`.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed