Skip to content

Instantly share code, notes, and snippets.

@cpsievert
Created July 16, 2018 18:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cpsievert/500061fab9aa6be9f417198b2ddf256d to your computer and use it in GitHub Desktop.
Save cpsievert/500061fab9aa6be9f417198b2ddf256d to your computer and use it in GitHub Desktop.
<head>
<!-- Plotly.js -->
<script src="https://cdn.plot.ly/plotly-latest.min.js"></script>
</head>
<body>
<div id="graph"></div>
<script>
var dat = [{
"x": [1,2,3,4,5],
"y": [1,2,3,4,5],
"mode": "markers",
"type": "scattergl"
}];
Plotly.plot('graph', dat);
</script>
</body>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment