Skip to main content
100%

Fork of 3D Scatter Plot with Penguin Dataset

✓ Published0🌍 Public
RRupeshGandham
Last edited Jul 7, 2022
Created on Jul 7, 2022

This example uses Plotly to create a 3D scatter plot of the Palmer Penguins dataset, displaying three measurements—bill length, bill depth, and flipper length—as points in a three-dimensional space. Two nearly identical traces are layered, sharing the same axes and dimensions but differing only in marker styling and opacity, which produces a subtle visual overlay effect. Data is loaded asynchronously via `d3.csv` from a GitHub-hosted CSV file, and the rows are unpacked into arrays using a custom function. The chart is rendered into a `<div>` element using `Plotly.newPlot` with minimal margins.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes