Skip to main content
100%

Fork of Click select

✓ Published1🌍 Public
Ddanish-nix
Last edited May 15, 2021
Created on May 14, 2021

This interactive scatter plot visualizes cars from the UCI Auto MPG dataset, displayed as a horizontal row of fruit shapes that dynamically update over time. Built with D3 v5, the code uses scales from `d3.scaleOrdinal` to map fruit types to circle radii and colors, while SVG elements are managed through data joins and enter/merge/exit selections. Clicking a circle logs its ID to the console and triggers a render callback, demonstrating event handling alongside animated state changes that add, remove, and transform fruit items.

AI-generated description

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

MIT Licensed

Similar vizzes