🌍 Public
Viewing a saved revision (read-only)
84fbcd1a35c94c879b08d699ed7d5ec8
Cars Scatter Plot
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 descriptionThis scatter plot shows data about cars