Skip to main content
100%

Scatter Plot with Menus

✓ Published0🌍 Public
HHasideluxe
Last edited Aug 2, 2020
Created on Aug 1, 2020
Forked from Cars Scatter Plot

This interactive scatter plot displays automobile data from a CSV file, with two dropdown menus letting users choose which columns to plot on the x- and y-axes. The visualization uses d3.csv to load the data, d3.scaleLinear and d3.extent to compute scales, and d3.axisBottom and d3.axisLeft for the axes. Changes trigger a transition with d3.transition, animating the circles’ positions over 1.2 seconds. Menus are built with a custom reusable dropdownMenu function, and the plot renders as SVG with 10-pixel-radius red semi-transparent circles.

AI-generated description
MIT Licensed

Similar vizzes