Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6question3

Public visualization

Viewing a saved revision (read-only)

6fe82464e90943918ecf3d886c9dba51

Activity6question3

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

This scatter plot visualizes the Iris dataset, showing sepal length against petal length for three species of iris flowers. The D3.js v7 implementation uses d3.scaleLinear to map the quantitative axes and d3.scaleOrdinal with symbolsFill to encode species through distinct point shapes. A custom shape legend component displays the species categories, while the chart pulls data from a remote CSV file using d3.csvParse and renders the plot with SVG paths generated by d3.symbol.

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.