🌍 Public
Viewing a saved revision (read-only)
852e4aa9d750456c9f6c18bbd27ac7a8
Scatter plot
A scatter plot visualizes the relationship between horsepower and weight for a dataset of cars, sourced from `data.csv`. Each circle represents a car, positioned along the x-axis by weight and the y-axis by horsepower. The visualization is built using D3.js version 5, with SVG rendering. It employs `scaleLinear` for axes, `axisBottom` and `axisLeft` for grid lines, and `extent` to compute domains. Circle opacity is set via CSS, and axis labels and title are added as SVG text elements.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.