Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity_6_Tutorial 3.1

Public visualization

Activity_6_Tutorial 3.1

0 stars0🌍 Public
HHarsha vardhan reddy Yarmareddy
Last edited Apr 5, 2024
Created on Apr 5, 2024
Forked from Hello VizHub

This scatter plot visualizes the Iris dataset, showing petal length and petal width for three flower species, distinguished by color. The visualization is rendered as SVG using D3 v6, with axes labeled for petal length and sepal length. The code loads data from a remote CSV via `d3.csv`, scales the x and y values using `scaleLinear`, and creates colored circles for each data point. It uses `axisLeft` and `axisBottom` for the axes and sets the plot to fill the browser window.

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