Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 7-4

Public visualization

Viewing a saved revision (read-only)

07c1b2c9cf854f53bf784e19af603035

Activity 7-4

0 stars0🌍 Public
Ppjdhungana@gmail.com
Last edited Jun 28, 2023
Created on Jun 28, 2023
Forked from Hello VizHub

This scatter plot visualizes the Iris dataset, depicting petal length against petal width, with each point colored by species (setosa, versicolor, or virginica). It loads data from a CSV URL using the `csv` function, then maps values through `scaleLinear` scales. The visualization uses D3 v6 APIs including `select`, `extent`, `axisLeft`, `axisBottom`, and SVG circle marks for rendering, with axis labels styled via SVG `text` elements.

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.