Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity8_Task3

Public visualization

Viewing a saved revision (read-only)

be883a9ae01f438f92e5bb0d77d9e724

Activity8_Task3

0 stars0🌍 Public
LLakshmi Keerthi
Last edited Apr 10, 2024
Created on Apr 10, 2024
Forked from Hello VizHub

This scatter plot visualizes the Iris dataset, showing the relationship between petal length and petal width. Each point is colored by species (skyblue for setosa, lightgreen for versicolor, pink for virginica) using the `d3.scaleLinear` and `d3.axisBottom`/`d3.axisLeft` APIs within the D3 v6 framework. It loads CSV data via `d3.csv`, parses numeric values, and renders circles in an SVG. Axis labels display petal length and sepal length, though the plotted coordinates use petal 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.