🌍 Public
Viewing a saved revision (read-only)
41b64e36f7d14eb6a5bd0a0dd85b0cff
Act 6.3
This scatter plot visualizes the relationship between Glucose and Insulin levels in a diabetes dataset, with red and green circles distinguishing diabetic and non-diabetic outcomes. It loads CSV data from a GitHub repository using d3.csv, then renders the plot as SVG with d3.scaleLinear, d3.axisLeft, d3.axisBottom, and d3.extent. The chart fills the browser window and includes labeled axes for Glucose and Insulin.
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.