Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Task3.1

Public visualization

Viewing a saved revision (read-only)

e6c31150c87d442496256481fc375489

Activity6_Task3.1

0 stars0🌍 Public
Vvenkatamanikantavaddi@my.unt.edu
Last edited Oct 23, 2024
Created on Oct 23, 2024

This example visualizes the Iris dataset as a scatter plot, mapping petal length and width to x and y positions while coloring each point by species (setosa, versicolor, or virginica) using predefined color markers. The visualization uses D3 v6 APIs including `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to construct scales and axes, with data loaded via `d3.csv` from a GitHub gist. Circles are rendered as SVG elements with their radii fixed and additional sepal dimensions stored as unused attributes, while axis labels are positioned using SVG text elements.

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.