Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Task3

Public visualization

Activity6_Task3

0 stars0🌍 Public
Llikhitha.sarahah01@gmail.com
Last edited Oct 19, 2024
Created on Oct 19, 2024
Forked from Hello VizHub

This scatter plot visualizes the Iris dataset, mapping petal length and width for each flower sample. The code loads the data from a GitHub-hosted CSV, and points are colored by species (skyblue, lightgreen, orange) using a switch function. Axes are created with `d3.axisLeft` and `d3.axisBottom`, while scales are defined by `d3.scaleLinear` and extents via `d3.extent`. All graphics are rendered as SVG circles using D3's join operation.

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.

Comments

Sign in to join the discussion.

MIT Licensed