Skip to main content
100%

Cars Scatter Plot

✓ Published1🌍 Public
PPetter-Smit
Last edited Dec 27, 2022
Created on Dec 27, 2022
Forked from Scatter plot

This scatter plot displays the relationship between car weight and horsepower using data from the auto-mpg dataset. Each semi-transparent steelblue circle represents a car, plotted by D3.js v5 with `scaleLinear` axes and axis labels. The code uses `csv` loading, `extent` for domains, and `axisBottom`/`axisLeft` to render gridlines and ticks. The SVG rendering includes a title and rotated y-axis label, with margins defining the inner plotting area.

AI-generated description
MIT Licensed

Similar vizzes