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?

  <!-- Plotly.js -->
  <script src=""></script>
  <!-- Numeric JS -->
  <script src=""></script>

  <div id="myDiv"><!-- Plotly chart will be drawn inside this DIV --></div>
   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);

Your snippet looks like it is valid HTML.

Can you describe what you’re seeing?