Skip to main content
Public

Share visualization

Loading preview…

ICE-7 Resuable scatter plot

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

ICE-7 Resuable scatter plot

10
LLG0498
Last edited Mar 29, 2022
Created on Mar 22, 2022

This animated scatter plot visualizes the Iris flower dataset, displaying different species as colored circles (green, indigo, and red) that cycle through various sepal and petal measurement axes every two seconds using D3.js. The visualization uses d3.scaleLinear for axis scaling, d3.extent for domain calculation, and d3.axisLeft/axisBottom for the coordinate system. A reusable scatterPlot function encapsulates the chart logic, while SVG circles with dynamic positioning and the setInterval timer drive the rotating axis combinations. The rendering is built with D3 v6.7.0, featuring a tech-style font and full-window responsive SVG layout.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed