Skip to main content
100%

Fork of Cars Scatter Plot

✓ Published0🌍 Public
PPuja Maharjan
Last edited Nov 22, 2021
Created on Nov 22, 2021
Forked from Cars Scatter Plot

This scatter plot visualizes the relationship between horsepower and weight for cars from the UCI Auto MPG dataset, with each red semi-transparent circle representing a vehicle. The chart uses D3 v5’s `scaleLinear`, `axisBottom`, and `axisLeft` to construct the axes and gridlines, while `csv` loads the external data and `select` manages SVG elements. Values are converted to numbers before rendering, and the title, axis labels, and tick formatting are styled via a separate CSS file.

AI-generated description

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

MIT Licensed

Similar vizzes