Skip to main content
100%

Cars Scatter Plot

✓ Published1🌍 Public
Jjay
Last edited Feb 10, 2020
Created on Feb 10, 2020

This scatter plot visualizes the relationship between horsepower and weight for a dataset of cars, with each circle representing a vehicle. The chart uses D3 v5’s scaleLinear, axisBottom, and axisLeft to construct the axes, while the SVG circles are rendered with a fixed radius and partial opacity. Data is loaded as CSV from VizHub’s auto-mpg dataset and parsed into numbers before plotting. Grid lines, axis labels, and a title are added via D3’s selection and append methods.

AI-generated description
MIT Licensed

Similar vizzes