🌍 Public
Viewing a saved revision (read-only)
1415a5e3c15b4c00b40a3795a57aaa0f
Activity 6_Question 3
This example shows a scatter plot of vehicle performance data, mapping horsepower on the x-axis and weight on the y-axis for ten vehicles across different manufacturers. The visualization uses color-coded symbols from d3.symbolsFill to distinguish each manufacturer, with a legend explaining the shape mappings. Built with d3.v7, the code uses d3.scaleLinear for both axes, d3.scaleOrdinal for shape encoding, and d3.axisLeft/axisBottom for tick marks, while loading the CSV data asynchronously via d3.csv.
AI-generated description