🌍 Public
Viewing a saved revision (read-only)
b9a4b49c0c4f446f9dbea9ac3bfbf6e1
Scatter Plot static
This scatter plot visualizes the relationship between horsepower and weight for cars from the auto-mpg dataset, with each red, semi-transparent circle representing a vehicle. The code uses D3 v6 to load CSV data, apply linear scales with nice-ticked extents, and render SVG axes with gridlines. Axis labels and a title are added using D3 selection methods, while styling is handled through CSS classes for ticks, labels, and circle opacity.
AI-generated description