nithin question 1
✓ Published0🌍 Public
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 descriptionMIT Licensed