Skip to main content
100%

3D Scatter plot

✓ Published0🌍 Public
CChathurya
Last edited Mar 31, 2023
Created on Mar 31, 2023

This 3D scatter plot visualizes the World Happiness Report data for six countries, showing the relationship between Life Ladder scores, Social Support, and both Positive and Negative Affect. The visualization displays two marker types: orange circular markers for positive affect and gray square markers for negative affect. The code uses the Plotly.js library through the `Plotly.newPlot` function to render the interactive 3D chart, while D3.js handles data loading from a CSV file hosted on GitHub using `d3.csv`. The data is parsed and unpacked into trace objects defined with the `scatter3d` type.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes