Skip to main content
100%

Scatter Plot with Menus

✓ Published0🌍 Public
JJoker-tr
Last edited Nov 8, 2019
Created on Nov 7, 2019

This interactive scatter plot displays fuel efficiency data for cars from the UCI Machine Learning Repository’s Auto MPG dataset. The visualization compares any two selected columns, such as weight or horsepower, through an SVG scatter plot with translucent red circles. Users switch axes via dropdown menus, which trigger a re-render of the plot. The visualization uses d3’s `scaleLinear`, `extent`, and `axisLeft`/`axisBottom` functions, with circles animating to their new positions via a two-second `transition` with a staggered `delay`.

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