Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Tutorial 3

Public visualization

Viewing a saved revision (read-only)

31668f6da6aa4a36a3fc7a6e18cc6f09

Activity6_Tutorial 3

0 stars1🌍 Public
Aaashrithas2000@gmail.com
Last edited Apr 14, 2024
Created on Apr 14, 2024

This scatter plot visualizes the Iris dataset, mapping petal length and width for sepal length and width, with points colored by species (setosa, versicolor, and virginica) using skyblue, lightgreen, and orange. The visualization uses D3 v6 (d3.csv, d3.scaleLinear, d3.extent, d3.axisLeft, d3.axisBottom) to load the CSV from a GitHub repository, compute scales, and render SVG circles. Axis labels are added via SVG text elements, and the plot resizes to the full window dimensions.

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.