Skip to main content
100%

Fork of Cars Scatter Plot

✓ Published1🌍 Public
HHuaiyu Sun
Last edited Jun 18, 2021
Created on Jun 18, 2021
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 circle represents a car, with position determined by d3.scaleLinear scales and axes rendered via d3.axisBottom and d3.axisLeft. The code loads data with d3.csv, parses numeric fields, and uses d3.select to append SVG circles. Axis labels and a title are added via appended text elements, with styling from CSS classes.

AI-generated description

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

MIT Licensed

Similar vizzes