Skip to main content
100%

Fork of Cars Scatter Plot

✓ Published0🌍 Public
Ggmemail3@gmail.com
Last edited Apr 30, 2024
Created on Apr 30, 2024
Forked from Cars Scatter Plot

This scatter plot visualizes the relationship between horsepower and weight for cars from the UCI Machine Learning Repository’s Auto MPG data set. The code uses d3.csv to load the data, d3.scaleLinear for both axes, and d3.axisBottom and d3.axisLeft with custom tick sizing to render the SVG chart. Each car is drawn as a red, semi-transparent circle with a radius of 10 pixels, positioned via d3’s scale functions. Axis labels and a title are added using SVG text elements.

AI-generated description

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

MIT Licensed

Similar vizzes