Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars Jbt Scatter Plot

Public visualization

Cars Jbt Scatter Plot

0 stars0🌍 Public
NNemastoja
Last edited Feb 7, 2021
Created on Feb 7, 2021

This scatter plot displays the relationship between vehicle weight and horsepower using the classic auto-mpg dataset, with large green circles marking each car. The visualization uses D3 v5’s `scaleLinear`, `axisBottom`, and `axisLeft` to construct axes with gridlines, while `extent` sets the domains. Data is loaded via `csv` from a remote URL and rendered as an SVG. Custom labels and a title are added, and the code formats tick values using `format` with a '.1s' specifier.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed