Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 6_Task-3.2

Public visualization

Viewing a saved revision (read-only)

1b53d718112f49aba6837c9e3b134817

Activity 6_Task-3.2

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

This scatter plot visualizes the Iris dataset, mapping sepal length on the x-axis and petal length on the y-axis, with each species distinguished by a unique symbol shape and a corresponding legend. The visualization uses d3.scaleLinear for axes, d3.scaleOrdinal with symbolsFill for shape encoding, and d3.symbol to render the marks. Axes and labels are drawn via custom functions. Data is loaded asynchronously using d3.csvParse from a remote CSV file, and the plot updates responsively to the window size.

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.