Skip to main content
Public

Share visualization

Loading preview…

multiStagescatter

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

multiStagescatter

0
DDonald Bagwell
Last edited Mar 29, 2024
Created on Mar 29, 2024
Forked from reusable scatter

This example shows a reusable scatter plot that cycles between two halves of Titanic passenger data, plotting Age against Fare and coloring points by Sex. Built with D3 v6, the visualization uses `scaleLinear` for axes, `scaleOrdinal` with `schemeCategory10` for color encoding, and `axisLeft`/`axisBottom` for tick marks. The code alternately renders each data subset every five seconds using `setInterval`, swapping between two `scatterPlot` instances invoked via `selection.call()`.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed