Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

MTCARS Scatter Plot with Menus

Public visualization

MTCARS Scatter Plot with Menus

0 stars1🌍 Public
BBizmundo
Last edited Oct 7, 2019
Created on Oct 5, 2019

This interactive scatter plot visualizes the mtcars dataset, letting users select which attribute (mpg, cyl, disp, hp) to plot on each axis. The chart displays circles for each car, with tooltips showing the x-axis value. Using React with D3 v5, the code implements a `Dropdown` component to update state and re-render the SVG. The `scaleLinear` function scales the data, while `AxisBottom`, `AxisLeft`, and `Marks` modules handle the visualization's rendering.

AI-generated description

An interactive scatter plot of mtcars Dataset.

Comments

Sign in to join the discussion.

MIT Licensed