Skip to main content
100%

Scatter Plot with menus

✓ Published0🌍 Public
RRoger Yu-Hsiang Lo
Last edited Feb 14, 2020
Created on Feb 14, 2020
Forked from Cars Scatter Plot

This interactive scatter plot displays relationships between numeric attributes of the auto-mpg dataset, with dropdown menus above the chart letting users select which columns to plot on the x and y axes. As selections change, the axes and data points update with a smooth 2-second animated transition, where circles grow from the center and slide to their new positions. The visualization uses D3 v5 with reusable functions for the dropdown menu and scatter plot, employing d3.scaleLinear, d3.extent, d3.axisBottom and d3.axisLeft for scales and axes, plus SVG rendering with a transition delay based on data index for the staggered animation effect.

AI-generated description
MIT Licensed

Similar vizzes