🌍 Public
Viewing a saved revision (read-only)
9119791b62184e8ab694d1eb5e0d7056
Activity6_task3_Question1
This scatter plot visualizes the relationship between total bill and tip amount from the tips dataset, encoding the gender of each customer through distinct symbols: squares for male diners and circles for female diners. The D3.js v7 code loads the CSV data, maps values to linear scales for both axes, and renders the points as SVG paths using `d3.symbol()` to generate the shape geometry. The legend displays the symbol-color mapping, with male data points colored blue and female points orange.
AI-generated description