Cars Scatter Plot.js
✓ Published2🌍 Public
This example displays a scatter plot of automobile data, mapping horsepower on the x-axis against weight on the y-axis. Each point represents a car model, rendered as a translucent blue circle with a fixed radius. The visualization uses D3.js v5, employing `scaleLinear` for both axes and `extent` to compute the domains. The SVG output includes gridlines generated by `axisLeft` and `axisBottom`, with the resulting data loaded from a local CSV file (auto-mpg.csv) covering vehicle specifications.
AI-generated descriptionMIT Licensed