🌍 Public
Viewing a saved revision (read-only)
2e31618c87a24264b84153596510de20
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