Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars Scatter Plot

Public visualization

Viewing a saved revision (read-only)

15fb312122494ed4808b6fd0a8755ded

Cars Scatter Plot

0 stars0🌍 Public
Ttayyabanisar
Last edited May 15, 2020
Created on May 15, 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. Each red, semi-transparent circle represents a car, with its x-position scaled by horsepower and y-position by weight. Built with D3 v5, the visualization uses `scaleLinear`, `extent`, `axisBottom`, and `axisLeft` to construct axes and map data values to SVG coordinates. The code loads CSV data via `csv` and appends circles to an SVG element, with styling defined in an external stylesheet.

AI-generated description

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