Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 6_Question 4

Public visualization

Viewing a saved revision (read-only)

4887f5163fbb452498d55bfcef0db5f0

Activity 6_Question 4

0 stars0🌍 Public
MMonish Galla
Last edited Apr 4, 2024
Created on Apr 3, 2024
Forked from Hello VizHub

This interactive scatter plot visualizes the Iris dataset, comparing sepal length against sepal width for three species. Each circle is colored by species using a d3.scaleOrdinal with d3.schemeCategory10, and interactive tooltips display the species name on hover. The visualization uses D3 v7 to create SVG elements, with axes, labels, and a legend generated through d3.axisBottom and d3.axisLeft. Data is loaded asynchronously from a CSV file via d3.csv.

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.