Skip to main content
100%

Cars Scatter Plot

✓ Published0🌍 Public
FFenghua-Liu-Bose
Last edited Nov 27, 2020
Created on Nov 27, 2020
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. Red semi-transparent circles are placed using d3.scaleLinear for both axes, with gridlines from d3.axisBottom and d3.axisLeft. The code loads CSV data via d3.csv, converts numeric fields, and renders the SVG using D3 v5 selections and data joins. Axis labels and a title are appended as 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