Skip to main content
100%

Cars scatterplot

✓ Published1🌍 Public
Wwieswies
Last edited Feb 7, 2022
Created on Feb 7, 2022

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 description

This scatterplot shows car data.

MIT Licensed

Similar vizzes