Skip to main content
100%

Cars Scatter Plot

✓ Published0🌍 Public
Wwisam-ahmed
Last edited Jul 5, 2023
Created on Jul 5, 2023
Forked from Scatter Plot

This scatter plot visualizes the relationship between vehicle weight and horsepower for a dataset of cars, with each point representing an individual model. The plot uses D3 v7’s `scaleLinear` for both axes, `axisLeft` and `axisBottom` for tick marks, and SVG circles with partial opacity. Data is loaded from a CSV file via `d3.csv`, with numeric fields parsed before rendering. Grid lines are drawn using negative tick sizes, and axis labels appear above and beside the plot.

AI-generated description

An example including some commonly used features of SVG.

MIT Licensed

Similar vizzes