Skip to main content
100%

Cars Scatter Plot

✓ Published0🌍 Public
MMartin H. Normark
Last edited Sep 24, 2019
Created on Sep 24, 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 data set. Each semi-transparent circle represents a car, with positions determined by linear scales for both axes, using data parsed from a CSV file. The visualization uses d3.scaleLinear, d3.axisBottom, and d3.axisLeft to render axes with grid lines, while SVG circles are appended via d3 selection and data joins. Axis labels and a title are drawn as SVG text elements, with styling applied via CSS.

AI-generated description

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

MIT Licensed

Similar vizzes