🌍 Public
Viewing a saved revision (read-only)
49d0603408a84b0b89ef04b0fd5f4923
Cars scatter plots
This scatter plot visualizes the relationship between horsepower and weight for cars, with each circle representing a vehicle. The data is loaded from a CSV file and rendered as an SVG using D3 v6. The code employs `d3.scaleLinear` for both axes, `d3.axisLeft` and `d3.axisBottom` for ticks, and `d3.extent` to compute domains. Axis labels and a title are added as SVG text elements, while circles use a fixed radius with steelblue fill and partial opacity.
AI-generated description