activity6 task 3
✓ Published0🌍 Public
This scatter plot visualizes the relationship between glucose and insulin levels in a diabetes dataset, with points colored red or green to indicate diabetic or non-diabetic outcomes. It loads CSV data from a GitHub repository using d3.csv, then applies d3.scaleLinear, d3.extent, d3.axisLeft, and d3.axisBottom to map the values. The chart renders as an SVG with circles positioned via cx and cy attributes, using window dimensions to size the plot responsively.
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.
MIT Licensed