Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

activity6_task3

Public visualization

Viewing a saved revision (read-only)

dd52b04898bf412a995a9377434d7615

activity6_task3

0 stars0🌍 Public
Sshivasaiamaravadi@gmail.com
Last edited Apr 11, 2024
Created on Apr 10, 2024

This scatter plot visualizes the Iris dataset, mapping petal length on the x-axis and petal width on the y-axis, with points colored by species (setosa, versicolor, and virginica). The visualization encodes sepal length and width as the rx and ry attributes of each circle, creating elliptical markers whose dimensions vary with the data. Built with D3 v6, the code uses `d3.csv` to load data from a GitHub URL, `scaleLinear` and `extent` for scaling, and `axisLeft`/`axisBottom` for axes. Data is parsed from CSV columns into numeric values before rendering as SVG circles.

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.