Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Task_8_Activity_3_2

Public visualization

Viewing a saved revision (read-only)

b3043cf7bf424bdc93f4f0427cd54adb

Task_8_Activity_3_2

0 stars0🌍 Public
Jjordanwolfe2@my.untdallas.edu
Last edited Apr 14, 2024
Created on Apr 14, 2024
Forked from Hello VizHub

This example displays the classic Iris dataset, plotting sepal length against petal length as a scatter plot and encoding the three iris species using distinct D3 symbols. It uses `d3.scaleLinear` for both axes, `d3.scaleOrdinal` with `d3.symbolsFill` to map species to shapes, and `d3.axisLeft` and `d3.axisBottom` for the axes. Data is loaded as CSV from a remote GitHub repository and parsed with `d3.csvParse`, with a custom legend function rendering the shape-keyed species labels.

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.