Cars Scatter Plot
✓ Published1🌍 Public
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 descriptionMIT Licensed