Skip to main content
100%

Scatter plot shapes

✓ Published0🌍 Public
DDouglas mochama
Last edited Apr 15, 2024
Created on Apr 15, 2024
Forked from Activity6_Task4

A scatter plot uses the Iris dataset to compare sepal length against sepal width, with each species distinguished by a unique geometric symbol rendered as SVG path data. D3’s `scaleOrdinal` maps species names to symbol strings from `d3.symbols`, which are then applied to `d3.symbol` shapes. The chart encodes data points as translucent steel-blue markers, with axes labeled using `axisBottom` and `axisLeft`. Data is loaded via `d3.csv` and scaled using `scaleLinear` for position.

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.
MIT Licensed

Similar vizzes