text: var w = document.getElementById('chart').offsetWidth,
      h = window.innerHeight -70;
  var colorscale = d3.scale.category10();
  var data = [
  [
  {axis:"SECURE RANDOM (256B)",value:0.981,title:"6.91 ms"},
  {axis:"SHA-1 hash (256B)",value:0.843,title:"10.84 ms"},
  {axis:"SHA2-256 hash (256B)",value:0.881,title:"15.05 ms"},
  {axis:"AES128 encrypt (256B)",value:0.989,title:"1.14 ms"},
  {axis:"AES256 encrypt (256B)",value:0.995,title:"0.66 ms"},
  {axis:"3DES encrypt (256B)",value:0.996,title:"0.79 ms"},
  {axis:"3DES setKey(192b)",value:0.545,title:"22.58 ms"},
  {axis:"AES setKey(128b)",value:0.557,title:"21.68 ms"},
  {axis:"AES setKey(256b)",value:0.526,title:"23.45 ms"},
  {axis:"SWAES oneblock (16B)",value:0.878,title:"289.41 ms"},
  {axis:" arrayCopy nonAtomic RAM2RAM (256B)",value:0.966,title:"0.22 ms"},
  {axis:" arrayCopy nonAtomic EEPROM2EEPROM (256B)",value:0.993,title:"0.31 ms"},
  {axis:"ECC 256b genKeyPair",value:1.432,title:"-412.0 ms"},
  {axis:"ECDSA 256b sign",value:0.758,title:"39.19 ms"},
  {axis:"ECDSA 256b verify",value:0.828,title:"40.35 ms"},
  {axis:"ECDH 256b",value:1.065,title:"-13.44 ms"},
  {axis:"RSA1024 CRT decrypt",value:0.939,title:"26.96 ms"},
  {axis:"RSA1024 CRT encrypt",value:1.362,title:"-14.49 ms"},
  {axis:"RSA2048 CRT decrypt",value:0.963,title:"64.82 ms"},
  {axis:"RSA2048 CRT encrypt",value:1.161,title:"-13.22 ms"},
  {axis:"RSA1024 decrypt",value:0.921,title:"37.62 ms"},
  {axis:"RSA1024 encrypt",value:1.184,title:"-7.37 ms"},
  {axis:"RSA2048 decrypt",value:0.933,title:"217.29 ms"},
  {axis:"RSA2048 encrypt",value:1.074,title:"-6.1 ms"},
  ],
  [
  {axis:"SECURE RANDOM (256B)",value:0.940,title:"21.64 ms"},
  {axis:"SHA-1 hash (256B)",value:0.483,title:"35.78 ms"},
  {axis:"SHA2-256 hash (256B)",value:0.453,title:"69.32 ms"},
  {axis:"AES128 encrypt (256B)",value:0.791,title:"21.41 ms"},
  {axis:"AES256 encrypt (256B)",value:0.821,title:"23.2 ms"},
  {axis:"3DES encrypt (256B)",value:0.898,title:"20.92 ms"},
  {axis:"3DES setKey(192b)",value:0.688,title:"15.48 ms"},
  {axis:"AES setKey(128b)",value:0.749,title:"12.28 ms"},
  {axis:"AES setKey(256b)",value:0.679,title:"15.88 ms"},
  {axis:"SWAES oneblock (16B)",value:0.786,title:"507.6 ms"},
  {axis:" arrayCopy nonAtomic RAM2RAM (256B)",value:0.868,title:"0.84 ms"},
  {axis:" arrayCopy nonAtomic EEPROM2EEPROM (256B)",value:0.914,title:"3.62 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.712,title:"126.93 ms"},
  {axis:"RSA1024 CRT encrypt",value:0.666,title:"13.37 ms"},
  {axis:"RSA2048 CRT decrypt",value:0.629,title:"645.58 ms"},
  {axis:"RSA2048 CRT encrypt",value:0.617,title:"31.5 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);