activity6_Question3
✓ Published0🌍 Public
This scatter plot visualizes the relationship between battery life (in hours) and weight (in grams) for a small dataset of five smartphones from different brands. Each phone is represented as a distinct symbol based on its brand, with a color legend displaying the brand names. The visualization is rendered using D3.js v7 with SVG, employing scales like `d3.scaleLinear` for axes and `d3.scaleOrdinal` with symbol generators for categorical shapes. Data is loaded from a CSV file via `d3.csv`, and axes are labeled with battery life and weight.
AI-generated descriptionMIT Licensed