Skip to main content
Public

Share visualization

Loading preview…

Fork of Reusable D3 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

Fork of Reusable D3 Scatter Plot

0 stars1Public
TTehran Mammadov
Last edited Jun 19, 2022
Created on Jun 19, 2022

This scatter plot displays the Iris flower dataset, plotting petal width against sepal length. It cycles through four different data columns every two seconds, animating the scatter plot's x-axis to show different variable combinations. Built with D3.js v7, it uses a reusable `scatterPlot` module with `scaleLinear`, `extent`, and axis functions. The SVG rendering updates via a `setInterval` loop, re-calling the plot function with new x-axis values.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed