Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Task3.1

Public visualization

Activity6_Task3.1

0 stars2🌍 Public
MMandadi Nishita
Last edited Oct 22, 2024
Created on Oct 22, 2024
Forked from Activity6_Task3.2

This scatter plot visualizes the Iris dataset, showing petal length on the x-axis and petal width on the y-axis, with points colored by species (setosa, versicolor, and virginica) in skyblue, lightgreen, and orange. The code loads data from a GitHub gist via D3’s `csv` and uses `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to render axes and SVG circles with a fixed radius, while also mapping sepal dimensions to each point’s `rx` and `ry` attributes (though these are overridden by the constant radius). The visualization fills the browser window, with green axis labels for petal and sepal lengths.

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