text: var w = document.getElementById('chart').offsetWidth,
      h = window.innerHeight -70;
  var colorscale = d3.scale.category10();
  var data = [
  [
  {axis:"SECURE RANDOM (256B)",value:0.928,title:"25.72 ms"},
  {axis:"SHA-1 hash (256B)",value:0.738,title:"18.16 ms"},
  {axis:"SHA2-256 hash (256B)",value:0.706,title:"37.33 ms"},
  {axis:"AES128 encrypt (256B)",value:0.748,title:"25.74 ms"},
  {axis:"AES256 encrypt (256B)",value:0.763,title:"30.75 ms"},
  {axis:"3DES encrypt (256B)",value:0.693,title:"62.8 ms"},
  {axis:"3DES setKey(192b)",value:0.860,title:"6.93 ms"},
  {axis:"AES setKey(128b)",value:0.870,title:"6.36 ms"},
  {axis:"AES setKey(256b)",value:0.858,title:"7.02 ms"},
  {axis:"SWAES oneblock (16B)",value:0.382,title:"1467.9 ms"},
  {axis:" arrayCopy nonAtomic RAM2RAM (256B)",value:0.649,title:"2.24 ms"},
  {axis:" arrayCopy nonAtomic EEPROM2EEPROM (256B)",value:0.944,title:"2.37 ms"},
  {axis:"ECC 256b genKeyPair",value:0.776,title:"213.9 ms"},
  {axis:"ECDSA 256b sign",value:0.099,title:"145.88 ms"},
  {axis:"ECDSA 256b verify",value:0.571,title:"100.85 ms"},
  {axis:"ECDH 256b",value:0.392,title:"126.18 ms"},
  {axis:"RSA1024 CRT decrypt",value:0.792,title:"91.35 ms"},
  {axis:"RSA1024 CRT encrypt",value:0.735,title:"10.61 ms"},
  {axis:"RSA2048 CRT decrypt",value:0.870,title:"226.59 ms"},
  {axis:"RSA2048 CRT encrypt",value:0.793,title:"17.0 ms"},
  {axis:"RSA1024 decrypt",value:0.765,title:"112.43 ms"},
  {axis:"RSA1024 encrypt",value:0.726,title:"10.96 ms"},
  {axis:"RSA2048 decrypt",value:0.785,title:"698.63 ms"},
  {axis:"RSA2048 encrypt",value:0.789,title:"17.36 ms"},
  ],
  [
  {axis:"SECURE RANDOM (256B)",value:0.970,title:"10.92 ms"},
  {axis:"SHA-1 hash (256B)",value:0.843,title:"10.84 ms"},
  {axis:"SHA2-256 hash (256B)",value:0.787,title:"27.0 ms"},
  {axis:"AES128 encrypt (256B)",value:0.969,title:"3.18 ms"},
  {axis:"AES256 encrypt (256B)",value:0.972,title:"3.6 ms"},
  {axis:"3DES encrypt (256B)",value:0.978,title:"4.42 ms"},
  {axis:"3DES setKey(192b)",value:0.783,title:"10.79 ms"},
  {axis:"AES setKey(128b)",value:0.989,title:"0.56 ms"},
  {axis:"AES setKey(256b)",value:0.988,title:"0.58 ms"},
  {axis:"SWAES oneblock (16B)",value:0.905,title:"226.06 ms"},
  {axis:" arrayCopy nonAtomic RAM2RAM (256B)",value:0.947,title:"0.34 ms"},
  {axis:" arrayCopy nonAtomic EEPROM2EEPROM (256B)",value:0.981,title:"0.78 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.933,title:"29.33 ms"},
  {axis:"RSA1024 CRT encrypt",value:0.908,title:"3.68 ms"},
  {axis:"RSA2048 CRT decrypt",value:0.911,title:"155.55 ms"},
  {axis:"RSA2048 CRT encrypt",value:0.897,title:"8.49 ms"},
  {axis:"RSA1024 decrypt",value:0.843,title:"75.08 ms"},
  {axis:"RSA1024 encrypt",value:0.909,title:"3.66 ms"},
  {axis:"RSA2048 decrypt",value:0.821,title:"581.88 ms"},
  {axis:"RSA2048 encrypt",value:0.897,title:"8.43 ms"},
  ],
  ];
  
  var config = { w: w-175,
   h: h-175,
   maxValue: 1.0,
   levels: 10,
   }
  
  RadarChart.draw("#chart", data, config);