Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Tutorial Activity6_Task3.2

Public visualization

Viewing a saved revision (read-only)

b97dc1cdc48b4c24ab291e2dedbe2541

Tutorial Activity6_Task3.2

0 stars1🌍 Public
Kkrunalpatel@my.unt.edu
Last edited Apr 13, 2024
Created on Apr 13, 2024

This interactive scatter plot displays the relationship between sepal length and petal length for three iris species, distinguished by different D3 symbol shapes. Using d3.scaleLinear for axes and d3.scaleOrdinal with symbolsFill for shapes, it renders SVG paths via the d3.symbol generator. A custom shapeLegend displays species categories. Data is loaded asynchronously via fetch and parsed with d3.csvParse from a remote CSV file, with numeric fields converted before plotting.

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.