Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Scatter Plot with Menus

Public visualization

Viewing a saved revision (read-only)

8571246b73904419a0445af0cd31a817

Scatter Plot with Menus

0 stars0🌍 Public
SShashwat Priyadarshi
Last edited May 18, 2020
Created on May 15, 2020

This interactive scatter plot displays car data from the UCI Machine Learning Repository’s Auto MPG dataset. Users select which columns to map to the X and Y axes via dropdown menus, and the visualization updates the axes and corresponding data points accordingly. The chart is rendered as an SVG using d3-scales with linear axes, and the menus are built with a reusable dropdownMenu module. The code uses d3’s selection, scaleLinear, extent, axisLeft, and axisBottom APIs, and it incorporates rotated tick labels for readability.

AI-generated description

This scatter plot shows data about cars, from UCI Machine Learning Repository: Auto MPG Data Set. The user can select which columns map to X and Y using dropdown menus.