text/javascript">
      function round(num, places) {
        var shift = Math.pow(10, places);
        return Math.round(num * shift)/shift;
      };

      var data = [], smalldata = [];
      for (var i = 0, n = 1; i < 63; i++, n *= 2) {
        data.push([i, n]);
        smalldata.push([i, Math.pow(10,-n)]);
      }

      var suffixes = ['', 'k', 'M', 'G', 'T'];
      function formatValue(v) {
        if (v < 1000) return v;

        var magnitude = Math.floor(String(Math.floor(v)).length / 3);
       