Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of scatter plot with menus

Public visualization

Viewing a saved revision (read-only)

9e234bf6494840eb8fca50bdbbcd787b

Fork of scatter plot with menus

0 stars0🌍 Public
Aakshayms0
Last edited Nov 7, 2022
Created on Nov 7, 2022

This visualization displays a scatter plot of automotive data from the auto-mpg dataset, with interactive dropdown menus that let users select which columns to plot on the x and y axes. The SVG renders circles positioned via d3.scaleLinear and transitions them into place using transition.attr. The dropdownMenu component uses d3 selection and event handling to trigger re-renders, while the scatterPlot module manages axes with d3.axisLeft and d3.axisBottom, updating labels and scales dynamically based on user selections.

AI-generated description