Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_task3.2

Public visualization

Viewing a saved revision (read-only)

9716cde7bc154dc9a1c23eacb51570b8

Activity6_task3.2

0 stars0🌍 Public
RRJVENKATESH789@GMAIL.COM
Last edited Apr 10, 2024
Created on Apr 10, 2024
Forked from Hello VizHub

This scatter plot visualizes the Iris dataset, mapping sepal length to the x-axis and petal length to the y-axis while encoding the species of each flower using different d3.symbol shapes (from symbolsFill). The legend, built with a custom shapeLegend function, lists species and their corresponding markers. The visualization uses D3 v7's scaleLinear for axes, scaleOrdinal for shape mapping, and d3.axisLeft/axisBottom for rendering the chart, with data loaded asynchronously from a CSV file via fetch and d3.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.