Skip to main content
Public

Share visualization

Loading preview…

Fork of SharanyaFork of ICE-7: 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 SharanyaFork of ICE-7: Reusable D3 Scatter Plot

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

This interactive scatter plot visualizes the Iris dataset, mapping petal width against sepal length for individual iris flowers. The reusable chart, built with D3 v6, uses d3.scaleLinear for axes and d3.symbol with d3.scaleOrdinal to render distinct symbols colored by species (setosa, versicolor, virginica). A legend displays the color mapping, while a setInterval loop cycles through different column pairs every second, dynamically updating the x-axis mapping to explore correlations between sepal and petal measurements. The SVG rendering updates smoothly via a reusable function pattern.

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