Skip to main content
100%

Fork of Map

✓ Published0🌍 Public
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.

MIT Licensed

Similar vizzes