Skip to main content
100%

Activity6_ Question 3.2 : Scatter plot with shape

✓ Published1🌍 Public
Jjayanthbalina@gmail.com
Last edited Apr 4, 2024
Created on Apr 4, 2024

This scatter plot visualizes Test Cricket records, plotting runs scored against matches played for each player. The code uses D3 v6 to load CSV data and render SVG marks, with each player’s country determining the symbol shape (circle, square, triangle, diamond, or star) via `d3.scaleOrdinal` and `d3.symbol`. Axes are generated using `d3.axisBottom` and `d3.axisLeft`, with linear scales mapping innings and average to secondary values. The visualization clearly distinguishes national teams through shape encoding, making country-level patterns in batting performance immediately visible.

AI-generated description

We are Displaying the IRIS dataset using Scatter plot.

MIT Licensed

Similar vizzes