text: var w = document.getElementById('chart').offsetWidth,
      h = window.innerHeight -70;
  var colorscale = d3.scale.category10();
  var data = [
  [
  {axis:"SECURE RANDOM (256B)",value:0.980,title:"7.28 ms"},
  {axis:"SHA-1 hash (256B)",value:0.698,title:"20.91 ms"},
  {axis:"SHA2-256 hash (256B)",value:0.0,title:"NS"},
  {axis:"AES128 encrypt (256B)",value:0.0,title:"NS"},
  {axis:"AES256 encrypt (256B)",value:0.0,title:"NS"},
  {axis:"3DES encrypt (256B)",value:0.962,title:"7.68 ms"},
  {axis:"3DES setKey(192b)",value:0.480,title:"25.84 ms"},
  {axis:"AES setKey(128b)",value:0.0,title:"NS"},
  {axis:"AES setKey(256b)",value:0.0,title:"NS"},
  {axis:"SWAES oneblock (16B)",value:0.853,title:"349.16 ms"},
  {axis:" arrayCopy nonAtomic RAM2RAM (256B)",value:0.865,title:"0.86 ms"},
  {axis:" arrayCopy nonAtomic EEPROM2EEPROM (256B)",value:0.925,title:"3.15 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.754,title:"108.32 ms"},
  {axis:"RSA1024 CRT encrypt",value:0.719,title:"11.25 ms"},
  {axis:"RSA2048 CRT decrypt",value:0.646,title:"617.35 ms"},
  {axis:"RSA2048 CRT encrypt",value:0.645,title:"29.17 ms"},
  {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.910,title:"32.12 ms"},
  {axis:"SHA-1 hash (256B)",value:0.628,title:"25.76 ms"},
  {axis:"SHA2-256 hash (256B)",value:0.712,title:"36.56 ms"},
  {axis:"AES128 encrypt (256B)",value:0.976,title:"2.42 ms"},
  {axis:"AES256 encrypt (256B)",value:0.981,title:"2.46 ms"},
  {axis:"3DES encrypt (256B)",value:0.989,title:"2.24 ms"},
  {axis:"3DES setKey(192b)",value:0.791,title:"10.4 ms"},
  {axis:"AES setKey(128b)",value:0.853,title:"7.19 ms"},
  {axis:"AES setKey(256b)",value:0.848,title:"7.52 ms"},
  {axis:"SWAES oneblock (16B)",value:0.555,title:"1058.14 ms"},
  {axis:" arrayCopy nonAtomic RAM2RAM (256B)",value:0.807,title:"1.23 ms"},
  {axis:" arrayCopy nonAtomic EEPROM2EEPROM (256B)",value:0.829,title:"7.19 ms"},
  {axis:"ECC 256b genKeyPair",value:0.836,title:"156.9 ms"},
  {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.872,title:"56.27 ms"},
  {axis:"RSA1024 CRT encrypt",value:0.865,title:"5.43 ms"},
  {axis:"RSA2048 CRT decrypt",value:0.920,title:"139.55 ms"},
  {axis:"RSA2048 CRT encrypt",value:0.903,title:"7.94 ms"},
  {axis:"RSA1024 decrypt",value:0.855,title:"69.61 ms"},
  {axis:"RSA1024 encrypt",value:0.858,title:"5.69 ms"},
  {axis:"RSA2048 decrypt",value:0.869,title:"426.26 ms"},
  {axis:"RSA2048 encrypt",value:0.903,title:"8.0 ms"},
  ],
  ];
  
  var config = { w: w-175,
   h: h-175,
   maxValue: 1.0,
   levels: 10,
   }
  
  RadarChart.draw("#chart", data, config);