Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Question3.1

Public visualization

Viewing a saved revision (read-only)

baf9ee551f9c42839949de4d91cf4f51

Activity6_Question3.1

0 stars0🌍 Public
Rrishithagovini99@gmail.com
Last edited Apr 6, 2024
Created on Apr 5, 2024

This scatter plot visualizes World Cup cricket player performance by plotting total World Cup matches against runs scored, with each player represented as a colored circle. The color encoding differentiates players by their national team using d3.scaleOrdinal with d3.schemeCategory10. The visualization uses d3.csv to load the wc_records dataset, d3.scaleLinear for both axes, and d3.axisBottom with d3.axisLeft to render the scales. SVG circles are appended to the chart via d3 selection methods, while axis labels identify the quantitative variables.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.