Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Exploratory Scatterplot of mtcars

Public visualization

Viewing a saved revision (read-only)

60e948810b8f44d0b375b53ef759ddd3

Exploratory Scatterplot of mtcars

0 stars0🌍 Public
WWaseem Medhat
Last edited Oct 29, 2020
Created on Oct 29, 2020
Forked from React Starter

This interactive scatterplot visualizes the R mtcars dataset, letting users explore relationships between numeric variables like weight and miles per gallon while coloring points by categorical variables such as cylinder count or transmission type. Built with React and D3 v6, it uses `scaleLinear` and `scaleOrdinal` for axes and color, with dropdown menus from `react-dropdown` to switch attributes. The SVG rendering includes custom axis components and a color legend, and hovering over legend items animates opacity to highlight or dim points by category.

AI-generated description

The mtcars dataset is built into R, and it is commonly used by R data scientists for practice.