Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

tutorial 3.2

Public visualization

Viewing a saved revision (read-only)

23868dcbf73148a2af015d02009fda8f

tutorial 3.2

0 stars1🌍 Public
Aasheshpinisetti@my.unt.edu
Last edited Apr 15, 2024
Created on Apr 15, 2024
Forked from tutorial 3.1

This scatter plot shows the relationship between sepal length and petal length for different iris species, with the species encoded by symbol shape. The d3.js v7 code builds the visualization using a `scaleLinear` for the axes, a `scaleOrdinal` for the categorical shape mapping, and `symbolsFill` from d3 to render the points. It also includes a custom legend that displays each species with its corresponding shape, and the plot loads data from a CSV file containing the iris dataset. The axes and labels are generated using d3's `axisLeft` and `axisBottom` functions.

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.