🌍 Public
Viewing a saved revision (read-only)
4578d3de87964e7aa17f561a919334d8
ice_7 , question 1
This scatter plot visualizes the relationship between car price and kilometers driven, with each circle representing a car model. The data is loaded from a CSV file using D3’s `d3.csv` method. Points are positioned using dynamic linear scales for the x- and y-axes, and hovering reveals a tooltip with the car’s model year and kilometers driven. The SVG uses a `viewBox` for responsive scaling, and the chart includes axis labels for the two dimensions. Styling is applied via CSS for clarity and accessibility, with the visualization powered by the D3 v7 library loaded from a CDN.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.