Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 7 Scatter Plot

Public visualization

Activity 7 Scatter Plot

0 stars0🌍 Public
BBhavyaMammai
Last edited Jun 28, 2023
Created on Jun 28, 2023
Forked from Hello VizHub

This scatter plot visualizes the Iris dataset, displaying petal length on the x-axis and petal width on the y-axis, with each point colored by species (setosa, versicolor, or virginica) using distinct fills. The SVG chart is built with D3 v6, loading data via the `csv` function from a remote GitHub URL, and using `scaleLinear` for axes, `extent` for domains, and `axisLeft`/`axisBottom` to render ticks. It also applies custom margins, a title, and axis labels with rotation to present the relationships between the flower measurements.

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.

Comments

Sign in to join the discussion.

MIT Licensed