Skip to main content
100%

Cars Scatter Plot

✓ Published1🌍 Public
Zzlastefcia
Last edited Sep 8, 2020
Created on Sep 8, 2020
Forked from Scatter Plot

This scatter plot visualizes the relationship between horsepower and weight for various car models, with each point representing an individual vehicle. The visualization uses D3 v6 to load the auto-mpg dataset via `csv`, then employs `scaleLinear` for both axes with `extent` to determine domains. Axes are rendered using `axisBottom` and `axisLeft`, with the y-axis inverted to plot values correctly. The chart displays circles with a fixed radius, steelblue fill, and 50% opacity, while axis labels and title are added through SVG text elements styled via CSS.

AI-generated description
MIT Licensed

Similar vizzes