Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Task3.1

Public visualization

Viewing a saved revision (read-only)

572404ecb0394a8dbb8c6f985c37632c

Activity6_Task3.1

0 stars0🌍 Public
MMounishAllam@my.unt.edu
Last edited Oct 19, 2024
Created on Oct 19, 2024
Forked from Hello VizHub

This scatter plot visualizes the Iris dataset, displaying petal length and width for individual flowers. The circles are color-coded by species: skyblue for setosa, lightgreen for versicolor, and orange for virginica. Using D3 v6, the example loads data from a remote CSV via `d3.csv`, parses the numeric columns, and maps them to SVG circles using `d3.scaleLinear` for the x and y axes. It also incorporates sepal dimensions into the `rx` and `ry` attributes, making each point an ellipse. The chart renders axis labels with `d3.axisLeft` and `d3.axisBottom`, and uses D3's `select` and `join` APIs for efficient SVG element creation.

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.