Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Tutorial3_Activity6

Public visualization

Viewing a saved revision (read-only)

9f265687c7a24be08c7bb49937f925d4

Tutorial3_Activity6

0 stars1🌍 Public
Ssanjanadadi19@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, using petal length and petal width along the axes while coloring each point by iris species (setosa, versicolor, or virginica). The chart also includes the sepal dimensions as data attributes on each circle. The code loads the data via D3’s `csv` parser, scales the positions with `scaleLinear`, and renders circles with axes generated by `axisLeft` and `axisBottom`. It uses D3 v6, appends an SVG, and applies a rotation for the y-axis label.

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.