Skip to main content
100%

Activity6_task3_Question3

✓ Published0🌍 Public
Hharshabandi3060@gmail.com
Last edited Oct 22, 2024
Created on Oct 22, 2024

This visualization shows the relationship between total bill amount and tip amount for restaurant customers, using different symbols to distinguish between male and female diners. The scatter plot is rendered as an SVG using D3.js v7, with square markers representing male customers and circle markers representing female customers. The chart loads data from a CSV file using d3.csv, scales the axes with d3.scaleLinear, and generates the symbol shapes using d3.symbol with d3.symbolSquare and d3.symbolCircle. A color-coded legend displays the gender mapping.

AI-generated description
MIT Licensed

Similar vizzes