Skip to main content
Public

Share visualization

Loading preview…

Activity06 Scatter Plot 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

Activity06 Scatter Plot with Shape

0
Rragasrikakarla27@gmail.com
Last edited Oct 30, 2025
Created on Oct 30, 2025

This scatter plot visualizes the Iris dataset, comparing sepal length against petal length. Each flower species is distinguished by both color and shape: circles for setosa, triangles for versicolor, and diamonds for virginica, using d3.scaleOrdinal with d3.symbol types. The visualization loads data from a remote CSV file and renders points as SVG paths via d3.symbol, with a custom legend generated by the shapeLegend function. The axes are created using d3.axisBottom and d3.axisLeft, and the chart is styled with CSS, including a white background and rounded corners.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed