Skip to main content
100%

Mental Health Survey Scatter Plot

✓ Published0🌍 Public
JJoe Rozman
Last edited Sep 17, 2024
Created on Sep 17, 2024

This scatter plot visualizes the relationship between academic pressure and self-reported depression levels from a mental health survey dataset. Each circle represents a survey respondent, positioned according to their scores on these two variables, with a light gray background aiding readability. The visualization is built using D3.js, leveraging `scaleLinear` for axis scaling, `extent` to calculate data ranges, and custom axis label functions from the `@curran/axis-labels` library. The code imports the dataset from a `vizhub` reference and configures circles with a radius of 7.65 pixels and 62.9% opacity.

AI-generated description

A simple scatter plot with D3 showing the Penguins Dataset.

Challenge

  • Fork this viz
  • Modify it to show your data
MIT Licensed

Similar vizzes