Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activtiy-6--tutorial-3.1

Public visualization

Viewing a saved revision (read-only)

d4dd89cbe7904d059d08e4f37bd6a67d

Activtiy-6--tutorial-3.1

0 stars0🌍 Public
Sswapnadabburi@my.unt.edu
Last edited Oct 24, 2024
Created on Oct 24, 2024

This scatter plot visualizes the Iris dataset, mapping petal length and width for each sample. Points are colored by species: skyblue for setosa, lightgreen for versicolor, and orange for virginica. The visualization uses D3 v6, loading data from a remote CSV and rendering circles to an SVG canvas. It employs D3's `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` functions to create the axes, while the data is parsed on load to extract numeric values for the plot.

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.