Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars Scatter Plot

Public visualization

Cars Scatter Plot

0 stars1🌍 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

Comments

Sign in to join the discussion.

MIT Licensed