Skip to main content
100%

Cars Scatter Plot

✓ Published0🌍 Public
Ffloresh
Last edited Nov 9, 2018
Created on Sep 7, 2018
Forked from Customizing Axes

This scatter plot visualizes the relationship between horsepower and weight for cars from the auto-mpg dataset. The D3.js v5 code loads CSV data, maps horsepower to the x-axis and weight to the y-axis using linear scales, and renders semi-transparent red circles for each car. Axis labels and a title are added using SVG text elements, with gridlines drawn via tick marks extended across the plot area.

AI-generated description

This scatter plot shows data about cars

MIT Licensed

Similar vizzes