Skip to main content
100%

MTCARS Scatter Plot with Menus

✓ Published0🌍 Public
BBizmundo
Last edited Oct 10, 2019
Created on Oct 7, 2019

An interactive scatter plot of the classic mtcars dataset lets viewers compare any two of four car attributes—mpg, cyl, disp, and hp—by selecting each axis from a dropdown menu. Built with React and D3 v5, it renders SVG circles whose positions are calculated with `scaleLinear` and `extent`, and axes are drawn using the custom `AxisBottom` and `AxisLeft` components. The plot displays values with a `siFormat` tick label and includes hover tooltips via SVG `<title>` elements.

AI-generated description

An interactive scatter plot of mtcars Dataset.

MIT Licensed

Similar vizzes