🌍 Public
Viewing a saved revision (read-only)
f21c1b92a8954c0f93ee4fa55c51fb1f
Scatter plot
This scatter plot visualizes the relationship between horsepower and weight for cars from the auto-mpg dataset. The code loads CSV data via d3.csv, parses numeric fields, and renders circles using D3 v5's scaleLinear, axisBottom, and axisLeft within an SVG. Grid lines are generated through tickSize, while axis labels and a title are appended as SVG text elements.
AI-generated description