Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

MTCARS Scatter Plot with Menus

Public visualization

Viewing a saved revision (read-only)

98ddebdc644d4459a1d530fd2d04c1ed

MTCARS Scatter Plot with Menus

0 stars0🌍 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.