Skip to main content
100%

3D Scatter Plot

✓ Published0🌍 Public
LLakshmipriya-kalapala
Last edited Apr 4, 2023
Created on Apr 4, 2023

This example visualizes body mass index data with an interactive 3D scatter plot, mapping height, weight, and body mass onto the x, y, and z axes. The visualization uses Plotly’s `scatter3d` trace type, rendered inside a `div` via the `Plotly.newPlot` API. Data is loaded asynchronously from a CSV file using D3’s `d3.csv` method, with a custom `unpack` function extracting each attribute into arrays. Markers appear as pink circles with fixed size and opacity, while axis titles are styled in red within the layout’s scene configuration.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes