Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6 task3.2

Public visualization

Viewing a saved revision (read-only)

8bfb5366fd6a411cae33ba6d5511d849

Activity6 task3.2

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

This scatter plot visualizes the Iris dataset, plotting sepal length against petal length. Each point is rendered as a distinct symbol—circle, cross, or square—to represent the three species of Iris flowers, categorized on a categorical color scale. The visualization is built using D3.js (v7), using the `scaleLinear` and `scaleOrdinal` APIs to map data to positions and symbols. Axes and a shape legend are drawn using custom `axes` and `shapeLegend` modules, which utilize D3’s `axisLeft` and `axisBottom` functions. Data is loaded from a remote CSV file and parsed with `csvParse`.

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.