Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Tips Scatter Plot

Public visualization

Viewing a saved revision (read-only)

b4071ca52c2941bbae81673c038edb6e

Fork of Tips Scatter Plot

0 stars0🌍 Public
JJIAHAO LAI
Last edited Dec 15, 2022
Created on Dec 15, 2022
Forked from Tips Scatter Plot

This scatter plot visualizes the relationship between total bills and tips in restaurant data from the tips.csv file. The d3.scaleLinear and d3.axisBottom/axisLeft APIs map the data to SVG circles, with color distinguishing male (blue) and female (magenta) customers. Axis labels and a title are added using d3-selection methods, while the styling from styles.css applies opacity and typography. The data originates from the UCI Machine Learning Repository’s Auto MPG set, though the actual plotted variables come from a tips dataset.

AI-generated description

This scatter plot shows data about cars, from UCI Machine Learning Repository: Auto MPG Data Set.