Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Task3-2

Public visualization

Viewing a saved revision (read-only)

f8f01483a76848708884fdde8d25c379

Activity6_Task3-2

0 stars0🌍 Public
Aayeshamanzoor111798@gmail.com
Last edited Oct 25, 2024
Created on Oct 25, 2024

This scatter plot visualizes Iris flower measurements, mapping sepal length to the x-axis and petal length to the y-axis. Each flower is rendered as a D3 symbol, with species distinguished by distinct shapes (circles, crosses, and diamonds) via d3.scaleOrdinal and d3.symbolsFill. The visualization includes labeled axes and a custom shape legend, with data fetched from a remote CSV file and parsed using d3.csvParse. The code uses d3.scaleLinear for positioning and d3.axisLeft/axisBottom for tick rendering.

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.