text: var w = document.getElementById('chart').offsetWidth,
      h = window.innerHeight -70;
  var colorscale = d3.scale.category10();
  var data = [
  [
  {axis:"SECURE RANDOM (256B)",value:0.965,title:"12.6 ms"},
  {axis:"SHA-1 hash (256B)",value:0.933,title:"4.62 ms"},
  {axis:"SHA2-256 hash (256B)",value:0.650,title:"44.36 ms"},
  {axis:"AES128 encrypt (256B)",value:0.958,title:"4.31 ms"},
  {axis:"AES256 encrypt (256B)",value:0.963,title:"4.82 ms"},
  {axis:"3DES encrypt (256B)",value:0.973,title:"5.43 ms"},
  {axis:"3DES setKey(192b)",value:0.980,title:"1.0 ms"},
  {axis:"AES setKey(128b)",value:0.978,title:"1.06 ms"},
  {axis:"AES setKey(256b)",value:0.979,title:"1.06 ms"},
  {axis:"SWAES oneblock (16B)",value:0.787,title:"505.13 ms"},
  {axis:" arrayCopy nonAtomic RAM2RAM (256B)",value:0.912,title:"0.56 ms"},
  {axis:" arrayCopy nonAtomic EEPROM2EEPROM (256B)",value:0.968,title:"1.36 ms"},
  {axis:"ECC 256b genKeyPair",value:0.0,title:"NS"},
  {axis:"ECDSA 256b sign",value:0.0,title:"NS"},
  {axis:"ECDSA 256b verify",value:0.0,title:"NS"},
  {axis:"ECDH 256b",value:0.0,title:"NS"},
  {axis:"RSA1024 CRT decrypt",value:0.0,title:"NS"},
  {axis:"RSA1024 CRT encrypt",value:0.0,title:"NS"},
  {axis:"RSA2048 CRT decrypt",value:0.0,title:"NS"},
  {axis:"RSA2048 CRT encrypt",value:0.0,title:"NS"},
  {axis:"RSA1024 decrypt",value:0.0,title:"NS"},
  {axis:"RSA1024 encrypt",value:0.0,title:"NS"},
  {axis:"RSA2048 decrypt",value:0.0,title:"NS"},
  {axis:"RSA2048 encrypt",value:0.0,title:"NS"},
  ],
  [
  {axis:"SECURE RANDOM (256B)",value:0.970,title:"10.63 ms"},
  {axis:"SHA-1 hash (256B)",value:0.946,title:"3.75 ms"},
  {axis:"SHA2-256 hash (256B)",value:0.724,title:"35.06 ms"},
  {axis:"AES128 encrypt (256B)",value:0.968,title:"3.26 ms"},
  {axis:"AES256 encrypt (256B)",value:0.972,title:"3.62 ms"},
  {axis:"3DES encrypt (256B)",value:0.979,title:"4.3 ms"},
  {axis:"3DES setKey(192b)",value:0.987,title:"0.66 ms"},
  {axis:"AES setKey(128b)",value:0.989,title:"0.56 ms"},
  {axis:"AES setKey(256b)",value:0.987,title:"0.62 ms"},
  {axis:"SWAES oneblock (16B)",value:0.904,title:"228.7 ms"},
  {axis:" arrayCopy nonAtomic RAM2RAM (256B)",value:0.940,title:"0.38 ms"},
  {axis:" arrayCopy nonAtomic EEPROM2EEPROM (256B)",value:0.982,title:"0.74 ms"},
  {axis:"ECC 256b genKeyPair",value:0.0,title:"NS"},
  {axis:"ECDSA 256b sign",value:0.0,title:"NS"},
  {axis:"ECDSA 256b verify",value:0.0,title:"NS"},
  {axis:"ECDH 256b",value:0.0,title:"NS"},
  {axis:"RSA1024 CRT decrypt",value:0.0,title:"NS"},
  {axis:"RSA1024 CRT encrypt",value:0.0,title:"NS"},
  {axis:"RSA2048 CRT decrypt",value:0.0,title:"NS"},
  {axis:"RSA2048 CRT encrypt",value:0.0,title:"NS"},
  {axis:"RSA1024 decrypt",value:0.0,title:"NS"},
  {axis:"RSA1024 encrypt",value:0.0,title:"NS"},
  {axis:"RSA2048 decrypt",value:0.0,title:"NS"},
  {axis:"RSA2048 encrypt",value:0.0,title:"NS"},
  ],
  ];
  
  var config = { w: w-175,
   h: h-175,
   maxValue: 1.0,
   levels: 10,
   }
  
  RadarChart.draw("#chart", data, config);