🌍 Public
Viewing a saved revision (read-only)
ea6d508edb434c608a68b8444360c1e2
Activity 6 task 3 question
This scatter plot visualizes a vehicle dataset, showing the relationship between fuel efficiency and vehicle size. The plot distinguishes vehicle types by shape and color: cars appear as sky-blue circles, trucks as light-green squares, and other types as orange triangles. The visualization uses D3 v6 to load CSV data, map data points to screen coordinates, and generate the SVG output. It employs `d3.scaleLinear` for axes scaling, `d3.extent` to determine data domains, and `d3.symbol` to construct the different marker shapes. Axis labels provide context for both variables.
AI-generated description