Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 6.task 3

Public visualization

Viewing a saved revision (read-only)

2fbe2ac6e1c74bb0bdb0b6de918253ab

Activity 6.task 3

0 stars0🌍 Public
Ssanavenkatasurendrareddy@gmail.com
Last edited Apr 12, 2024
Created on Apr 12, 2024
Forked from Act 6.3

This scatter plot visualizes a diabetes dataset, plotting Glucose on the x-axis against Insulin on the y-axis, with data points colored red for diabetic outcomes and green for non-diabetic outcomes. The visualization loads data from a remote CSV file and uses D3 v6 APIs including `csv`, `scaleLinear`, `extent`, `axisBottom`, and `axisLeft` to construct the chart. The SVG rendering is sized to the browser window, with axes labeled and points drawn as circles with a fixed radius of 5 pixels.

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.