Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Task 3.2

Public visualization

Viewing a saved revision (read-only)

f315a9f7b9fe445a9c8d557afd2cf55a

Activity6_Task 3.2

0 stars0🌍 Public
Vvankayalapatimounika2000@gmail.com
Last edited Apr 14, 2024
Created on Apr 14, 2024

This example demonstrates a scatter plot that visualizes the Iris dataset, mapping sepal length and petal length on the axes while using distinct symbol shapes to represent the three iris species. The visualization includes labeled axes and a custom shape legend. Built with D3 v7, the code uses `d3.scaleLinear` for axes, `d3.scaleOrdinal` with `d3.symbolsFill` for shapes, and `d3.csvParse` to load the data. A modular ES6 structure separates the chart, axes, and legend into local modules.

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.