Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Activity 6 tutorial 3-2

Public visualization

Fork of Activity 6 tutorial 3-2

0 stars0🌍 Public
Kkaringusathwika@gmail.com
Last edited Apr 15, 2024
Created on Apr 15, 2024

This example uses D3 v7 to render a scatter plot of the Iris dataset. It maps sepal length and petal length to the x and y axes, and encodes species using different shapes. The visualization includes labeled axes and a legend for the shape categories. The code demonstrates D3's `scaleLinear`, `scaleOrdinal`, `symbolsFill`, and `symbol` APIs, with data fetched as CSV and parsed using `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.

Comments

Sign in to join the discussion.

MIT Licensed