Skip to main content
Public

Share visualization

Loading preview…

Scatter Plot with Symbols

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

Scatter Plot with Symbols

2
Ggeethanjalikotaru
Last edited Mar 25, 2023
Created on Mar 25, 2023

This scatter plot displays the Iris Dataset, mapping petal width and sepal length on the x- and y-axes. Each data point is rendered as a distinct SVG symbol according to the flower species, using the d3 symbols API with a size of 100. The implementation builds a reusable scatter plot module with d3.scaleLinear, d3.scaleOrdinal, d3.axisLeft, and d3.axisBottom. Data is loaded from a CSV file via d3.csv, and the plot fills the browser window by setting width and height to window dimensions.

AI-generated description

A vanilla HTML implementation of a D3 scatter plot. Shows the Iris Dataset.

Comments

Sign in to join the discussion.

MIT Licensed