Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width">
  <title>JS Bin</title>
  <script src="https://cdn.plot.ly/plotly-latest.min.js"></script>
  
  
  </head>
<body>
  <div id="tester" style="width:600px;height:250px;"></div>
  <script type="text/javascript">
    var data = new Array();
    var layout = {
      xaxis: {
        title: "x"
      },
      yaxis: {
        title: "y"
      }
    }
    Plotly.newPlot('tester',data,layout)
    TESTER = document.getElementById('tester');
    Plotly.plot( TESTER, [{
    x: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10],
    y: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] }], {
    margin: { t: 0 } } );
  </script>
</body>
</html>
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
HungryGeneralpro
0viewers