text: var w = document.getElementById('chart').offsetWidth,
      h = window.innerHeight -70;
  var colorscale = d3.scale.category10();
  var data = [
  [
  {axis:"SECURE RANDOM (256B)",value:0.945,title:"19.57 ms"},
  {axis:"SHA-1 hash (256B)",value:0.554,title:"30.89 ms"},
  {axis:"SHA2-256 hash (256B)",value:0.527,title:"59.95 ms"},
  {axis:"AES128 encrypt (256B)",value:0.099,title:"92.16 ms"},
  {axis:"AES256 encrypt (256B)",value:0.099,title:"116.91 ms"},
  {axis:"3DES encrypt (256B)",value:0.099,title:"184.5 ms"},
  {axis:"3DES setKey(192b)",value:0.754,title:"12.22 ms"},
  {axis:"AES setKey(128b)",value:0.698,title:"14.8 ms"},
  {axis:"AES setKey(256b)",value:0.688,title:"15.44 ms"},
  {axis:"SWAES oneblock (16B)",value:0.814,title:"440.96 ms"},
  {axis:" arrayCopy nonAtomic RAM2RAM (256B)",value:0.882,title:"0.75 ms"},
  {axis:" arrayCopy nonAtomic EEPROM2EEPROM (256B)",value:0.924,title:"3.2 ms"},
  {axis:"ECC 256b genKeyPair",value:0.404,title:"568.9 ms"},
  {axis:"ECDSA 256b sign",value:0.124,title:"141.79 ms"},
  {axis:"ECDSA 256b verify",value:0.099,title:"211.54 ms"},
  {axis:"ECDH 256b",value:0.234,title:"159.16 ms"},
  {axis:"RSA1024 CRT decrypt",value:0.719,title:"123.51 ms"},
  {axis:"RSA1024 CRT encrypt",value:0.690,title:"12.43 ms"},
  {axis:"RSA2048 CRT decrypt",value:0.630,title:"644.03 ms"},
  {axis:"RSA2048 CRT encrypt",value:0.629,title:"30.52 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.960,title:"14.27 ms"},
  {axis:"SHA-1 hash (256B)",value:0.826,title:"12.06 ms"},
  {axis:"SHA2-256 hash (256B)",value:0.824,title:"22.33 ms"},
  {axis:"AES128 encrypt (256B)",value:0.358,title:"65.72 ms"},
  {axis:"AES256 encrypt (256B)",value:0.361,title:"82.96 ms"},
  {axis:"3DES encrypt (256B)",value:0.329,title:"137.44 ms"},
  {axis:"3DES setKey(192b)",value:0.892,title:"5.38 ms"},
  {axis:"AES setKey(128b)",value:0.893,title:"5.22 ms"},
  {axis:"AES setKey(256b)",value:0.888,title:"5.57 ms"},
  {axis:"SWAES oneblock (16B)",value:0.857,title:"339.77 ms"},
  {axis:" arrayCopy nonAtomic RAM2RAM (256B)",value:0.920,title:"0.51 ms"},
  {axis:" arrayCopy nonAtomic EEPROM2EEPROM (256B)",value:0.954,title:"1.92 ms"},
  {axis:"ECC 256b genKeyPair",value:0.859,title:"134.85 ms"},
  {axis:"ECDSA 256b sign",value:0.455,title:"88.23 ms"},
  {axis:"ECDSA 256b verify",value:0.454,title:"128.23 ms"},
  {axis:"ECDH 256b",value:0.427,title:"118.9 ms"},
  {axis:"RSA1024 CRT decrypt",value:0.812,title:"82.58 ms"},
  {axis:"RSA1024 CRT encrypt",value:0.793,title:"8.3 ms"},
  {axis:"RSA2048 CRT decrypt",value:0.754,title:"428.98 ms"},
  {axis:"RSA2048 CRT encrypt",value:0.756,title:"20.06 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"},
  ],
  ];
  
  var config = { w: w-175,
   h: h-175,
   maxValue: 1.0,
   levels: 10,
   }
  
  RadarChart.draw("#chart", data, config);