Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Task3

Public visualization

Viewing a saved revision (read-only)

80723421d3d5493baea6c7d1c94628ed

Activity6_Task3

0 stars0🌍 Public
119n81a0581sunny@gmail.com
Last edited Oct 22, 2024
Created on Oct 22, 2024
Forked from Activity6_Task3

This visualization presents the Iris dataset as a scatter plot, mapping petal length on the x-axis and petal width on the y-axis, with circles colored by species (setosa, versicolor, virginica) and sized according to sepal dimensions. Using D3 v6, it loads CSV data via `d3.csv`, applies `scaleLinear` for axes, and renders SVG circles with `d3.axisLeft` and `d3.axisBottom` for labeled axes. The data source is a remote GitHub CSV file, and the plot uses a full-window SVG canvas with custom margins and styling.

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.