A Pen by Joao Castelo on CodePen.
Created
May 27, 2020 20:48
-
-
Save joecastelo/3fb9c9bd7417fe0da2e1fe3dd77bce9c to your computer and use it in GitHub Desktop.
jOboRgW
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset=utf-8> | |
<title>Plot.ly 3D</title> | |
<script src="https://cdn.plot.ly/plotly-1.2.0.min.js"></script> | |
</head> | |
<body> | |
<h1>3D Plot</h1> | |
<div id="chart"> </div> | |
</body> | |
<script> | |
var chart = document.getElementById('chart'); | |
var data = { | |
x: [1, 2, 3, 4, 5], | |
y: [1, 2, 4, 8, 16], | |
z:[1,2,3,4,10], | |
type: 'scatter3d'}; | |
Plotly.newPlot( chart, [data], { | |
margin: { t: 0 } } ); | |
</script> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment