text: var w = document.getElementById('chart').offsetWidth,
      h = window.innerHeight -70;
  var colorscale = d3.scale.category10();
  var data = [
  [
  {axis:"SECURE RANDOM (256B)",value:0.961,title:"13.8 ms"},
  {axis:"SHA-1 hash (256B)",value:0.835,title:"11.45 ms"},
  {axis:"SHA2-256 hash (256B)",value:0.834,title:"21.05 ms"},
  {axis:"3DES encrypt (256B)",value:0.938,title:"12.8 ms"},
  {axis:"AES128 encrypt (256B)",value:0.899,title:"10.33 ms"},
  {axis:"AES256 encrypt (256B)",value:0.913,title:"11.35 ms"},
  {axis:"3DES setKey(192b)",value:0.778,title:"11.04 ms"},
  {axis:"AES setKey(128b)",value:0.777,title:"10.9 ms"},
  {axis:"AES setKey(256b)",value:0.774,title:"11.18 ms"},
  {axis:"SWAES oneblock (16B)",value:0.861,title:"329.71 ms"},
  {axis:" arrayCopy nonAtomic RAM2RAM (256B)",value:0.915,title:"0.54 ms"},
  {axis:" arrayCopy nonAtomic EEPROM2EEPROM (256B)",value:0.956,title:"1.85 ms"},
  {axis:"RSA1024 CRT decrypt",value:0.814,title:"81.92 ms"},
  {axis:"RSA1024 CRT encrypt",value:0.794,title:"8.26 ms"},
  {axis:"RSA2048 CRT decrypt",value:0.754,title:"428.28 ms"},
  {axis:"RSA2048 CRT encrypt",value:0.757,title:"19.97 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.981,title:"6.92 ms"},
  {axis:"SHA-1 hash (256B)",value:0.714,title:"19.84 ms"},
  {axis:"SHA2-256 hash (256B)",value:0.0,title:"NS"},
  {axis:"3DES encrypt (256B)",value:0.965,title:"7.27 ms"},
  {axis:"AES128 encrypt (256B)",value:0.0,title:"NS"},
  {axis:"AES256 encrypt (256B)",value:0.0,title:"NS"},
  {axis:"3DES setKey(192b)",value:0.474,title:"26.1 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.859,title:"335.91 ms"},
  {axis:" arrayCopy nonAtomic RAM2RAM (256B)",value:0.872,title:"0.82 ms"},
  {axis:" arrayCopy nonAtomic EEPROM2EEPROM (256B)",value:0.930,title:"2.96 ms"},
  {axis:"RSA1024 CRT decrypt",value:0.752,title:"108.98 ms"},
  {axis:"RSA1024 CRT encrypt",value:0.725,title:"11.02 ms"},
  {axis:"RSA2048 CRT decrypt",value:0.642,title:"623.86 ms"},
  {axis:"RSA2048 CRT encrypt",value:0.645,title:"29.18 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);