Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of BONUS 1: 3D Scatter Plot

Public visualization

Fork of BONUS 1: 3D Scatter Plot

0 stars0🌍 Public
SSaiSreya1
Last edited Jul 7, 2022
Created on Jul 7, 2022

This example visualizes body mass index data as a 3D scatter plot, mapping height, weight, and body fat percentage onto the x, y, and z axes of an interactive Plotly chart. The visualization uses Plotly’s `scatter3d` trace type to render pink circular markers with adjustable opacity, while axis titles and fonts are configured through the layout’s scene properties. The code loads data via `d3.csv()` and processes it with a custom `unpack` function to extract attribute values as arrays, which are then passed to `Plotly.newPlot()` to render the chart inside a designated HTML div.

AI-generated description

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

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed