Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars Scatter Plot

Public visualization

Viewing a saved revision (read-only)

b6c4fb068d6d4b18b6f43dd3f71b4f02

Cars Scatter Plot

0 stars1🌍 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