Cars Scatter Plot
✓ Published0🌍 Public
This scatter plot visualizes the relationship between horsepower and weight for cars, with each semi-transparent blue circle representing a vehicle. The visualization uses d3.scaleLinear to map data values to pixel coordinates, with d3.axisBottom and d3.axisLeft generating tick marks and gridlines. Data is loaded asynchronously from a CSV file using d3.csv, and the code explicitly converts all numeric fields to numbers before rendering the SVG circles.
AI-generated descriptionMIT Licensed