Cars Scatter Plot
✓ Published1🌍 Public
MMaciek Sitkowski
Last edited Sep 1, 2020
Created on Sep 1, 2020
Forked from Top 10 Most Populous Countries 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 descriptionThis scatter plot shows data about cars. The data comes from Auto MPG Data Set - UCI Machine Learning Repository.
MIT Licensed