🌍 Public
Viewing a saved revision (read-only)
baf9ee551f9c42839949de4d91cf4f51
Activity6_Question3.1
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 descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.