Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars Scatter Plot

Public visualization

Viewing a saved revision (read-only)

57c47a7892b948e0a663e57c7a4e6175

Cars Scatter Plot

0 stars0🌍 Public
MMyCode
Last edited Apr 13, 2019
Created on Apr 13, 2019
Forked from Cars Scatter Plot

This scatter plot displays the relationship between horsepower and weight for cars from the UCI Machine Learning Repository’s Auto MPG data set, with each circle representing a vehicle. It uses d3.scaleLinear to map the data to x and y scales, d3.axisBottom and d3.axisLeft to render the axes, and SVG circles for the points. The code loads the CSV with d3.csv, then renders the chart into a static SVG using margin-based layout.

AI-generated description

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