Skip to main content
Public

Share visualization

Loading preview…

Reusable D3 Scatter Plot submitted by Tejaswi_Tummala

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

Reusable D3 Scatter Plot submitted by Tejaswi_Tummala

0
Tttummala17
Last edited Jun 30, 2022
Created on Jun 30, 2022
Forked from D3 Starter

This example presents a reusable D3 scatter plot visualizing the Iris dataset, with petal width and sepal length mapped to the x- and y-axes. The plot encodes species using distinct symbols from d3.symbol and d3.scaleOrdinal. An animation cycles through four dataset columns every three seconds, updating the x-axis mapping via the chart’s accessor methods. The visualization uses d3.axisLeft, d3.axisBottom, and SVG paths, with a legend and title added programmatically.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.

Comments

Sign in to join the discussion.

MIT Licensed