Skip to main content
Public

Share visualization

Loading preview…

fork of scatterplot with shape

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

fork of scatterplot with shape

0
DDee
Last edited Apr 3, 2025
Created on Apr 3, 2025

This example shows an Iris dataset scatter plot of sepal length against petal length, with points colored and shaped by species. A legend on the right maps each species to its corresponding symbol shape. The visualization is built using D3 v7, employing `scaleLinear` for the axes, `scaleOrdinal` with `symbolsFill` for shape encoding, and `symbol` to generate the point markers. Data is loaded asynchronously from a GitHub-hosted CSV and parsed with `csvParse`.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed