Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Activity-6_task3.1

Public visualization

Viewing a saved revision (read-only)

ace0768620674e31be8ac171dd481597

Fork of Activity-6_task3.1

0 stars1🌍 Public
Aakitisaitejareddy@gmail.com
Last edited Apr 5, 2024
Created on Apr 5, 2024
Forked from Activity-6

This scatter plot visualizes the Iris dataset, displaying petal length on the x-axis and petal width on the y-axis, with points colored by species (setosa, versicolor, virginica) using skyblue, lightgreen, and orange. The example loads CSV data via d3.csv, uses d3.scaleLinear for axis scaling, and d3.axisLeft/axisBottom for tick marks. Circles are rendered in SVG with d3.join, and each point’s radius is fixed, while sepal dimensions are encoded as rx and ry attributes, though these don’t affect the circular shape. Axis labels are added as SVG text elements, and the chart resizes to 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.