Black Lives Matter. Please consider donating to Black Girls Code today.
Dash HoloViews is now available! Check out the docs.

Can anyone tell me what I am doing wrong?

     <head>
  <!-- Plotly.js -->
  <script src="https://cdn.plot.ly/plotly-latest.min.js"></script>
  <!-- Numeric JS -->
  <script src="https://cdnjs.cloudflare.com/ajax/libs/numeric/1.2.6/numeric.min.js"></script>
</head>

<body>
  
  <div id="myDiv"><!-- Plotly chart will be drawn inside this DIV --></div>
  <script>
   var data = [{
    values: [83630,81650,77300,64249,51200,47900,46400,46000,45575,39350,38850,37450,34800,33600,32500,29050,28250,27650,27500,26948]

  labels: ['General Electric','Pinnacle West Capital','NorPAC','Greenberg Traurig LLP','Blackstone Group','Elliott Management','BAE Systems','Pvs Chemicals','Raytheon Co','Morgan Stanley','General Atomics','American Airlines Group','FedEx Corp','MacAndrews & Forbes','KKR & Co,Cisco Systems','Apollo Education Group','Snell & Wilmer','Rubin & Rudman','Deloitte LLP']
type: 'pie'
}];

var layout = {
  height: 800,
  width: 1000
};
Plotly.newPlot('myDiv', data);
  </script>
</body>

Your snippet looks like it is valid HTML.

Can you describe what you’re seeing?