Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars Scatter Plot

Public visualization

Viewing a saved revision (read-only)

f7e3909c9a144ed0baf919f44e81da57

Cars Scatter Plot

0 stars0🌍 Public
MMaciek Sitkowski
Last edited Sep 2, 2020
Created on Sep 2, 2020
Forked from Cars Scatter Plot

This scatter plot visualizes the relationship between weight and acceleration for cars from the Auto MPG Data Set, with each circle representing a vehicle. The chart uses D3 v5’s `scaleLinear`, `axisLeft`, and `axisBottom` to map data to SVG circles, with gridlines and labeled axes. The code loads CSV data via `d3.csv`, converts numeric fields, and renders the plot through an SVG container. Axis labels and a title use D3’s text append method, while styling is handled through CSS.

AI-generated description

This scatter plot shows data about cars. The data comes from Auto MPG Data Set - UCI Machine Learning Repository.