🌍 Public
Viewing a saved revision (read-only)
383a654272294d26bedb8499c0e869a8
nithin question 1
This scatter plot shows the relationship between daily social media hours and anxiety percentage, with points colored by income group. Built with D3 v7, the reusable `scatterPlot()` function configures axis labels, scales, and a Tableau10 ordinal color scheme, then appends an SVG with circles and axes. Data loads from a CSV via `d3.csv`, tooltips appear on hover, and the chart renders within an HTML container using basic D3 selection and scaling APIs.
AI-generated description