Skip to main content
100%

Cars Scatter Plot

✓ Published1🌍 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.

MIT Licensed

Similar vizzes