Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Task3

Public visualization

Activity6_Task3

0 stars0🌍 Public
Nnarasimhacharyulu010@gmail.com
Last edited Apr 5, 2024
Created on Apr 3, 2024
Forked from Hello VizHub

This scatter plot visualizes the Iris dataset, mapping petal length and width on the x- and y-axes while encoding species with colored markers. Each point is rendered as a circle using D3 v6’s `scaleLinear`, `extent`, and `axisLeft`/`axisBottom` utilities, with data loaded via `d3.csv` from a GitHub raw URL. The code also attempts to set `rx` and `ry` attributes from sepal measurements, though their effect on circles is not visually distinguishable. SVG rendering fills the full browser window, with axis labels styled via D3 selections.

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