Scatter plots with menus
✓ Published0🌍 Public
A scatter plot with an interactive dropdown menu displays the relationship between a selected column and weight for automobile data. Users choose a numeric attribute like horsepower or acceleration from the menu, and the x-axis updates accordingly using d3.scaleLinear, axisBottom, and axisLeft. The visualization is rendered as SVG with circles, and the menu is built via a reusable dropdown function that appends select and option elements. Data comes from a loaded CSV file containing car specifications.
AI-generated descriptionMIT Licensed