Skip to main content
Public

Share visualization

Loading preview…

Reusable-1

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-1

0
SSheela2930
Last edited Mar 29, 2023
Created on Mar 29, 2023

This example presents an animated scatter plot of the Iris dataset, cycling through different feature pairs on the x-axis (petal width, sepal width, petal length, sepal length) while the y-axis remains fixed. The visualization uses a custom reusable `scatterPlot` module built with D3.js (`scaleLinear`, `axisLeft`, `axisBottom`) to render SVG circles and axes. Points are colored by species (Iris-setosa in pink, Iris-versicolor in green, Iris-virginica in brown) with a legend and title. The animation updates the x-axis and plot data every interval, demonstrating a reusable chart component.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed