Skip to main content
100%

Fork of Cars Scatter Plot

✓ Published0🌍 Public
EEthan-Wu-juniper
Last edited Sep 19, 2022
Created on Sep 19, 2022
Forked from Cars Scatter Plot

This fork of the cars scatter plot visualizes the relationship between horsepower and weight using data from the UCI Machine Learning Repository’s Auto MPG dataset. Each red, semi-transparent circle represents a car, positioned by its horsepower and weight values, with axes labeled accordingly. The code uses d3.csv to load the data, d3.scaleLinear for both scales, and d3.axisLeft and d3.axisBottom to render the axes with gridlines. The SVG canvas is 960 by 500 pixels, with a 60-pixel top margin for the title and a 150-pixel left margin for the y-axis label.

AI-generated description

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

MIT Licensed

Similar vizzes