Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6-Task3

Public visualization

Viewing a saved revision (read-only)

b2b4f68649fe4451b38f41c5aee7255b

Activity6-Task3

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

This D3.js (v6) scatter plot visualizes the Iris dataset, plotting petal length against petal width with circle marks colored by species. The SVG renderer uses `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to construct axes and scales. The code loads CSV data from a GitHub URL, maps categorical species values to colors, and displays rotated axis labels. The chart omits a legend but differentiates setosa, versicolor, and virginica through skyblue, lightgreen, and orange fills, respectively.

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.