temperature of SF
✓ Published0🌍 Public
This scatterplot visualizes the relationship between mpg and acceleration in a dataset of cars, with each red circle representing a vehicle. The x-axis maps mpg and the y-axis maps acceleration, both scaled linearly using `d3.scaleLinear` with `d3.extent` for domains. Axes are rendered via `d3.axisLeft` and `d3.axisBottom`, with gridlines and labels styled through CSS. Data is loaded from a CSV file using `d3.csv` and parsed with unary `+` operators. The SVG output uses D3 v7's selection and data-join methods to append circles and text elements.
AI-generated descriptionMIT Licensed