Skip to main content
100%

Scatter Plot with Menus

✓ Published0🌍 Public
Ddanrhymes
Last edited Dec 1, 2019
Created on Dec 1, 2019
Forked from Cars Scatter Plot

This scatter plot displays the relationship between car weight and various selectable attributes, including horsepower, from the auto-mpg dataset. A dropdown menu, built using D3's select and append methods, lets users switch the x-axis column, triggering a re-render. The visualization uses D3's scaleLinear, axisBottom, axisLeft, and extent functions for scaling and axes, rendering circles as SVG elements within a chart that includes grid lines and labeled axes.

AI-generated description
MIT Licensed

Similar vizzes