🌍 Public
Viewing a saved revision (read-only)
d4e59ff23eb14b519bded1a0e19af92d
Fork of Click select
Ddanish-nix
Last edited May 15, 2021
Created on May 14, 2021
Forked from Fork of Fork of Fork of Fork of Cars area
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 descriptionThis scatter plot shows data about cars, from UCI Machine Learning Repository: Auto MPG Data Set.