Cars Jbt Scatter Plot
✓ Published0🌍 Public
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 descriptionMIT Licensed