Skip to main content
100%

Cars Scatter Plot

✓ Published1🌍 Public
JJasonXQH
Last edited Jun 16, 2020
Created on Jun 16, 2020
Forked from Scatter Plot

This example visualizes the relationship between horsepower and weight for a dataset of cars, with each car represented as a semi-transparent red circle. The scatter plot uses D3.js version 5, leveraging scales such as `scaleLinear`, axes generated with `axisBottom` and `axisLeft`, and data loaded via `csv` from a remote dataset. The SVG rendering includes styled axis ticks, grid lines, and labeled axes, with circle positions mapped through `xScale` and `yScale` based on the data’s extent.

AI-generated description
MIT Licensed

Similar vizzes