🌍 Public
Viewing a saved revision (read-only)
b6c4fb068d6d4b18b6f43dd3f71b4f02
Cars Scatter Plot
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