Fork of Fork of Scatter Plot with Shape
✓ Published0🌍 Public
This scatter plot shows the relationship between vehicle weight and horsepower for a small dataset of 1970s cars. Each circle represents a car model, colored by its country of origin. The visualization uses D3.js (v7) to render the SVG graphics, scaling the x-axis for weight and y-axis for horsepower. Points are drawn with a linear scale and an ordinal color scale. Hovering over a point triggers a tooltip displaying the car's name, weight, and horsepower. The chart includes labeled axes and a legend for the origin categories.
AI-generated descriptionMIT Licensed