Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Task3

Public visualization

Viewing a saved revision (read-only)

aed454511b174e119f8f9344e773afe6

Activity6_Task3

0 stars3🌍 Public
MMallikarjun Narra
Last edited Apr 15, 2024
Created on Apr 15, 2024
Forked from Hello VizHub

This scatter plot visualizes the Iris dataset, plotting petal length against petal width, with each point colored by species (setosa, versicolor, or virginica) using a custom marker function. The visualization is built with D3 v6, using `scaleLinear` for both axes, `axisLeft` and `axisBottom` for chart framing, and loads the data from a remote CSV file via the `csv` function. Note that while the code also parses sepal dimensions, only the petal measurements are currently displayed. The chart is drawn as an SVG, with circles sized at a fixed radius and axes labeled in green.

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.