Skip to main content
100%

Scatter Plot with Menus

✓ Published0🌍 Public
TToooooooT
Last edited Sep 19, 2022
Created on Sep 19, 2022
Forked from Cars Scatter Plot

This interactive scatter plot from the D3 example gallery uses two dropdown menus to let the viewer choose which data columns from the auto-mpg CSV dataset appear on the x- and y-axes. The visualization is rendered as an SVG, with circles animating into place over two seconds via D3's `.transition()` method. The code leverages the `d3.scaleLinear` and `d3.extent` functions to compute scales, and `d3.axisBottom` and `d3.axisLeft` to draw the axes with tick marks.

AI-generated description
MIT Licensed

Similar vizzes