Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

activity8-task4

Public visualization

activity8-task4

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

This example shows an interactive scatter plot of the Iris dataset, encoding sepal length on the x-axis, petal length on the y-axis, and species with distinct symbol shapes. It uses d3.csvParse to load data, d3.scaleLinear for positioning, d3.scaleOrdinal with d3.symbolsFill for shape encoding, and custom axes and legend modules built on d3.axisLeft, d3.axisBottom, and d3.symbol. The plot renders marks as SVG paths, with transitions between load states, and includes a shape legend showing species categories with labeled tick 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.

Comments

Sign in to join the discussion.

MIT Licensed