🌍 Public
Viewing a saved revision (read-only)
63b7ba22889f44d3b9f8b707905c945c
Cars scatterplot
This scatterplot visualizes the relationship between horsepower and weight for a dataset of cars, with each point representing a vehicle. The chart uses D3.js’s `scaleLinear` to map data values to pixel coordinates, `axisBottom` and `axisLeft` for the axes, and SVG circles for the data points. The data is loaded from a CSV file via `d3.csv`, and tick labels are formatted using `format('.3s')`. Styling is applied via CSS, including semi-transparent steelblue circles.
AI-generated descriptionThis scatterplot shows car data.