Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Scatter Plot with Menus

Public visualization

Scatter Plot with Menus

0 stars0🌍 Public
Ssanjaymirdha
Last edited Sep 19, 2019
Created on Sep 19, 2019
Forked from Hello VizHub

This interactive scatter plot displays fuel economy data from a car dataset, allowing users to explore relationships between variables like horsepower, weight, and acceleration. The visualization features two dropdown menus that dynamically change which column is plotted on the x and y axes. The chart is rendered as an SVG using D3’s `scaleLinear`, `axisLeft`, and `axisBottom` APIs, with red semi-transparent circles for data points. A custom `dropdownMenu` module handles the menu interactions, triggering re-renders when selections change.

AI-generated description

An example showing the capabilities of VizHub.

Comments

Sign in to join the discussion.

MIT Licensed