Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars Scatter Plot

Public visualization

Viewing a saved revision (read-only)

26f0b52c669f4b68b77f617c2950869a

Cars Scatter Plot

0 stars1🌍 Public
KKaleb LaBarrie
Last edited Sep 19, 2021
Created on Sep 17, 2021
Forked from Scatter Plot

This scatter plot visualizes the relationship between horsepower and weight for cars in the auto-mpg dataset, with each circle representing a car. It uses d3.scaleLinear to map data values to screen coordinates and d3.axisBottom and d3.axisLeft to render labeled axes with gridlines. The SVG rendering applies a semi-transparent red fill to circles, while a title and axis labels are added as text elements. Data is loaded from a CSV file and parsed into numeric values before plotting.

AI-generated description

This scatter plot shows data about cars.