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