Skip to main content
100%

Cars Scatter plot with D3.js!

✓ Published1🌍 Public
CCalvin Gomez
Last edited May 14, 2020
Created on May 11, 2020

This scatter plot visualizes the relationship between acceleration and miles per gallon for cars from the auto-mpg dataset, with each circle representing a vehicle. Built with D3.js v5, the code uses `d3.csv` to load the data, `d3.scaleLinear` for both axes, and renders SVG circles with a fixed radius. The chart includes axis labels and grid lines generated via `d3.axisBottom` and `d3.axisLeft`, with circles styled in semi-transparent steelblue.

AI-generated description
MIT Licensed

Similar vizzes