Skip to main content
100%

Cars Scatter Plot

✓ Published0🌍 Public
SSushanta77
Last edited Jul 31, 2019
Created on Jul 31, 2019
Forked from The d3 test

This scatter plot visualizes the relationship between horsepower and weight for cars from the UCI Machine Learning Repository’s Auto MPG dataset, with each red, semi-transparent circle representing a vehicle. The visualization uses D3 v5’s `scaleLinear`, `axisBottom`, and `axisLeft` to construct the axes, with gridlines via `tickSize`. Data is loaded asynchronously via `csv` and parsed into numeric values before rendering. The SVG output positions circles based on scaled x and y coordinates, while margins and labels are applied through manual transforms and CSS styling.

AI-generated description

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

MIT Licensed

Similar vizzes