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
Kkirangithub23
Last edited Jul 9, 2022
Created on Jul 9, 2022

This example visualizes the relationship between height, weight, and body fat percentage using a 3D scatter plot, with each point representing an individual from a BMI dataset loaded via `d3.csv`. The plot uses Plotly’s `scatter3d` trace type, rendering blue markers with grey outlines and an opacity of 0.8. Axes are labeled for each variable, with red title fonts, and the layout minimizes margins to focus on the data. The code calls `Plotly.newPlot` to draw the chart into a `<div>` element, relying on D3 for CSV parsing and Plotly for interactive 3D rendering.

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