Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Question 6

Public visualization

Viewing a saved revision (read-only)

407e49f3a4324604baf53b43b1df636b

Question 6

0 stars0🌍 Public
GGangumalla Ruchitha Reddy
Last edited Apr 15, 2024
Created on Apr 15, 2024
Forked from Hello VizHub

This scatter plot displays the relationship between sepal length and petal length for iris flowers, with each point’s shape encoding the species of the flower. The visualization includes labeled axes and a legend showing which symbol corresponds to which species. The chart is built using the d3.v7 library, leveraging functions like `scaleLinear`, `scaleOrdinal`, `symbolsFill`, and `axisLeft`/`axisBottom` from the `d3` module. The data is loaded from a CSV file containing the classic iris dataset, and the plot uses its own `scatterPlot` function to render the marks.

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.