Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Making Car Scatter Plat with menu

Public visualization

Viewing a saved revision (read-only)

3a84696b6e524abcae599dd75a0f5d39

Making Car Scatter Plat with menu

0 stars1🌍 Public
Nnorangai
Last edited Nov 3, 2019
Created on Nov 3, 2019

This interactive scatter plot visualizes the relationship between vehicle weight and horsepower using the auto-mpg dataset. A dropdown menu allows users to select which column from the data serves as the x-axis variable, dynamically updating the visualization. Built with D3 v5, the chart uses SVG rendering and a reusable `dropdownMenu` component, employing `scaleLinear`, `extent`, `axisBottom`, and `axisLeft` to construct axes and plot circles with a fixed radius. The scatter plot component handles data transformation and redrawing on menu selection.

AI-generated description