Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity7_Task3

Public visualization

Viewing a saved revision (read-only)

7e27c69d86de4cf285caf6b19b658afb

Activity7_Task3

0 stars0🌍 Public
Ssahaspragna6@gmail.com
Last edited Apr 10, 2024
Created on Apr 10, 2024
Forked from Hello VizHub

This scatter plot visualizes the Iris dataset, displaying petal length on the x-axis and petal width on the y-axis, with each point colored by species (setosa, versicolor, or virginica). The visualization uses d3.csv to load the data, d3.scaleLinear for coordinate mappings, and d3.axisBottom and d3.axisLeft to render axes. Circles are drawn by joining the data to SVG circle elements, with the radius fixed but the marker fill determined by species. The plot also includes axis labels for petal and sepal measurements, rendering within an SVG canvas sized to the browser window.

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.