Skip to main content
100%

Cars Jbt Scatter Plot

✓ Published0🌍 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
MIT Licensed

Similar vizzes