Cars Scatter Plot
✓ Published3🌍 Public
This scatter plot visualizes the relationship between horsepower and weight for various car models from the auto-mpg dataset. Each car is represented as a semi-transparent red circle, with its position determined by the scaled values of these two attributes. The visualization uses D3 v5 functions like `scaleLinear`, `axisBottom`, and `axisLeft` to construct axes with grid lines and labels. Tooltips are implemented by appending a div and using mouseover events. The SVG rendering includes a title and axis labels, with data loaded via the `csv` function.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.
MIT Licensed