Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

activity6_task3.1

Public visualization

Viewing a saved revision (read-only)

b17d64e834944853bd64a3ec91c83a00

activity6_task3.1

0 stars1🌍 Public
Mm.maanvireddt761@gmail.com
Last edited Oct 22, 2024
Created on Oct 22, 2024
Forked from Hello VizHub

This scatter plot visualizes the Iris dataset, showing the relationship between petal length and petal width, with each point colored by species. The code uses d3.csv to load the data, d3.scaleLinear to map the coordinates, and d3.axisLeft and d3.axisBottom for the chart axes. Circles are drawn in SVG, with colors assigned to setosa, versicolor, and virginica. Extra attributes for sepal dimensions are also bound to each circle, though only petal dimensions determine their position.

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.