Activity 6 task 3 question
✓ Published0🌍 Public
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 descriptionMIT Licensed