Skip to main content
100%

Fork of Scatter Plot of Happiness and Y axis attributes

✓ Published0🌍 Public
NNikithakatta30
Last edited May 21, 2023
Created on May 21, 2023

This interactive scatter plot explores the relationship between the rate of depression across all ages and selected well-being indicators from the World Happiness Report. Users can switch between economy, social support, generosity, freedom, and perception of corruption using a dropdown menu, which updates the y-axis and its label. Built with React and D3 v5, the visualization uses D3’s `scaleLinear` and `extent` to compute scales, while custom React components (`AxisBottom`, `AxisLeft`, `Marks`) render SVG axes and circles. Point positions are set via `cx`/`cy` attributes, with tooltips formatted using D3’s `format`.

AI-generated description

A scatter plot of The Iris Dataset.

MIT Licensed

Similar vizzes