Skip to main content
100%

Scatter Plot with Menus

✓ Published0🌍 Public
JJunheZhang66
Last edited Jul 6, 2020
Created on Jul 6, 2020

This scatter plot visualizes car data from the UCI Auto MPG dataset, allowing users to interactively select which numeric columns map to the x- and y-axes via dropdown menus. The code uses d3.v5 with `scaleLinear`, `axisBottom`, and `axisLeft` to generate the axes, while a custom `dropdownMenu` module handles the selection UI. Data loading uses the `csv` function, and the rendering employs SVG with animated transitions on the circles, which are styled with red fill and opacity.

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.

MIT Licensed

Similar vizzes