'\n';
      }
      return csv;
    }

    function specScatter(values) {
      return {
        width: 500,
        height: 500,
        autosize: 'pad',
        padding: 5,
        data: [
          {
            name: 'table',
            values: values
          }
        ],
        scales: [
          {
            name: 'x',
            domain: { data: 'table', field: 'u' },
            padding: 5,
            range: 'width'
          },
          {
            name: 'y',
            domain: { data: '