Skip to main content
100%

Cars Scatter Plot

✓ Published0🌍 Public
MMartin Lauf
Last edited Aug 6, 2019
Created on Aug 6, 2019
Forked from Cars Scatter Plot

This scatter plot visualizes the relationship between car acceleration and weight using the UCI Auto MPG dataset, with each red semi-transparent circle representing an individual car model. The visualization employs D3 v5’s scaleLinear, axisBottom, and axisLeft functions to map data values to SVG coordinates, rendering axes with tick marks and custom labels. The code fetches the CSV data via d3.csv, converts numeric fields, and draws circles with a fixed radius, while styles.css controls circle opacity and typography. The margin-based layout and appended axis labels, such as "Weight" and "acceleration," clarify the plotted dimensions.

AI-generated description

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

MIT Licensed

Similar vizzes