Skip to main content
Public

Share visualization

Loading preview…

Reusable scatter plot_Archana Goli

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 scatter plot_Archana Goli

0
Aarchanagoli@my.unt.edu
Last edited Mar 27, 2024
Created on Mar 27, 2024

This interactive scatter plot displays the Penguins dataset, with each species (Adelie, Chinstrap, Gentoo) represented by a distinct shape—square, triangle, or circle—positioned by body mass and culmen length. The visualization cycles through four numerical attributes every two seconds, updating the x-axis accessor to explore different correlations. Built with D3.js (v6.7.0), the reusable chart component uses `scaleLinear`, `extent`, `axisLeft`, and `axisBottom`, with SVG paths and a two-second `setInterval` for animation, loading data from a GitHub Gist CSV.

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