Skip to main content
Public

Share visualization

Loading preview…

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

shape

2
Vvishu.valandas@gmail.com
Last edited Oct 22, 2024
Created on Oct 22, 2024
Forked from Question1

This interactive scatter plot displays the Iris dataset, showing sepal length against petal length with a point's shape encoding its species. The visualization includes axes, axis labels, and a custom legend for the shape encoding. It uses D3 v7, specifically `scaleLinear` for scaling, `scaleOrdinal` for the shape mapping, and `symbolGenerator.type().size()` to draw the points. Data is loaded from a GitHub-hosted CSV and parsed via `csvParse`. The chart dynamically updates based on the window size.

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