text: var w = document.getElementById('chart').offsetWidth,
      h = window.innerHeight -70;
  var colorscale = d3.scale.category10();
  var data = [
  [
  {axis:"SECURE RANDOM (256B)",value:0.941,title:"20.97 ms"},
  {axis:"SHA-1 hash (256B)",value:0.508,title:"34.1 ms"},
  {axis:"SHA2-256 hash (256B)",value:0.479,title:"66.02 ms"},
  {axis:"AES128 encrypt (256B)",value:0.800,title:"20.44 ms"},
  {axis:"AES256 encrypt (256B)",value:0.829,title:"22.24 ms"},
  {axis:"3DES encrypt (256B)",value:0.903,title:"19.95 ms"},
  {axis:"3DES setKey(192b)",value:0.865,title:"6.7 ms"},
  {axis:"AES setKey(128b)",value:0.870,title:"6.38 ms"},
  {axis:"AES setKey(256b)",value:0.858,title:"7.04 ms"},
  {axis:"SWAES oneblock (16B)",value:0.798,title:"479.83 ms"},
  {axis:" arrayCopy nonAtomic RAM2RAM (256B)",value:0.875,title:"0.8 ms"},
  {axis:" arrayCopy nonAtomic EEPROM2EEPROM (256B)",value:0.918,title:"3.44 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.715,title:"125.48 ms"},
  {axis:"RSA1024 CRT encrypt",value:0.676,title:"12.98 ms"},
  {axis:"RSA2048 CRT decrypt",value:0.631,title:"642.86 ms"},
  {axis:"RSA2048 CRT encrypt",value:0.622,title:"31.12 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.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"},
  ],
  ];
  
  var config = { w: w-175,
   h: h-175,
   maxValue: 1.0,
   levels: 10,
   }
  
  RadarChart.draw("#chart", data, config);