Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Tutorial3.1

Public visualization

Viewing a saved revision (read-only)

8100d89ee42241e79b8af355fbe5074b

Activity6_Tutorial3.1

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

This scatter plot visualizes the Iris dataset, showing the relationship between petal length and petal width for three species, with each point colored by species (skyblue, lightgreen, or orange) and sized by sepal dimensions. The visualization uses D3 v6's `csv` loader to fetch data from a GitHub gist, then applies `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to create scaled axes and map data coordinates to SVG circle elements. The chart renders within a full-window SVG, with green axis labels and a red title, highlighting species clusters across the petal measurements.

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.