Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

activity6_Task3.1

Public visualization

Viewing a saved revision (read-only)

8f8972296253489e9d1b69c98794c3bc

activity6_Task3.1

0 stars0🌍 Public
Ccherrylmarym@gmail.com
Last edited Apr 4, 2024
Created on Apr 4, 2024
Forked from Hello VizHub

This visualization displays the Iris dataset as a scatter plot, showing the relationship between petal length and petal width. Each point is color-coded by species (setosa, versicolor, virginica) using skyblue, lightgreen, or orange. The plot includes labeled axes for petal length (y-axis) and sepal length (x-axis). The code uses D3 v6 methods including `csv`, `scaleLinear`, `extent`, `axisLeft`, and `axisBottom`, rendering as SVG. Data is loaded from a GitHub-hosted CSV file, with circles positioned using computed x and y scales.

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.