Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars Plot

Public visualization

Viewing a saved revision (read-only)

3b02d6f53959437aa1f85863a40b0287

Cars Plot

0 stars1🌍 Public
CCaleb
Last edited Jun 17, 2020
Created on Jun 17, 2020
Forked from Scatter Plot

This scatter plot visualizes the relationship between vehicle weight and fuel efficiency (MPG) using data from the UCI Machine Learning Repository’s Auto MPG dataset. It uses D3.js with an SVG rendering, where each circle represents a car, with position determined by linear scales for both axes. The code employs `scaleLinear`, `axisLeft`, `axisBottom`, and `extent` for scaling and axes, while `csv()` loads the external dataset. Axis labels and a title are added via SVG text elements, with circles styled in translucent red.

AI-generated description

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