Fork of activity6_Task3_answer
✓ Published0🌍 Public
This interactive D3.js scatter plot visualizes smartphone specifications, plotting screen size on the x-axis against battery life on the y-axis. Individual data points are color-coded by phone category (budget in sky blue, midrange in light green, and flagship in orange), with data loaded from a remote CSV using `d3.csv`. The visualization uses `d3.scaleLinear` for axes, labels drawn via SVG text elements, and supports dynamic viewport sizing through `window.innerWidth` and `window.innerHeight`.
AI-generated descriptionMIT Licensed