Skip to main content
100%

Cars Scatter Plot

✓ Published1🌍 Public
KKim Hughes
Last edited Jun 7, 2019
Created on Jun 7, 2019
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 dataset. Each red circle represents a car, with positions scaled linearly along both axes using d3.scaleLinear and extent. The visualization includes labeled axes with tick marks and a title, rendered as SVG elements. The code uses d3.csv to load the data, d3.axisLeft and d3.axisBottom for the axes, and d3.select to manipulate the SVG container.

AI-generated description

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

MIT Licensed

Similar vizzes