Skip to main content
Public

Share visualization

Loading preview…

Fork of Map

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 Map

0
Ddanish-nix
Last edited May 15, 2021
Created on May 15, 2021

This interactive scatter plot demonstrates dynamic data binding with D3 v5, visualizing a bowl of fruit that changes over time—apples disappear, and one transforms into a lemon. The visualization uses D3’s selection joins (`selection.data`, `enter`, `merge`, `exit`) to update SVG circles and text elements, with `scaleOrdinal` mapping fruit types to colors and radii. Animated transitions occur via `setTimeout`, and clicking a fruit logs its ID. The data is synthetic, generated locally with `range` and object literals.

AI-generated description

This scatter plot shows data about cars, from UCI Machine Learning Repository: Auto MPG Data Set.

Comments

Sign in to join the discussion.

MIT Licensed