Cars scatterplot
✓ Published1🌍 Public
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.
MIT Licensed