PlayGround

<c3>

data: {
  columns: [
    ['data1', 30], /* more comment */
    ['data2', 120],
  ],
  type : 'pie',
}

</c3>

<c3> data: {

      xs: {
          'data1': 'x1',
          'data2': 'x2',
      },
      columns: [
          ['x1', 10, 30, 45, 50, 70, 100],
          ['x2', 30, 50, 75, 100, 120],
          ['data1', 30, 200, 100, 400, 150, 250],
          ['data2', 20, 180, 240, 100, 190]
      ]

} </c3>

<c3> data: {

      xs: {
          'temperatura': 'tiempo',
          'presion': 'tiempo',
          'humedad': 'tiempo',
          'dew': 'tiempo',
      },
      columns: [
             ['tiempo', '2014-07-03 14:00','2014-07-03 14:15','2014-07-03 14:30','2014-07-03 14:45','2014-07-03 15:00',],
             ['temperatura', 17.3, 17.2, 17.2, 17.3, 17.2],
             ['presion', 1016.83, 1016.8, 1016.82, 1016.8, 1016.78],
             ['humedad', 54.0, 52.0, 52.0, 52.0, 53.0],
             ['dew', 9.5, 8.94, 8.94, 9.86, 9.22],
          ]

} axis: {

      xs: {
          type: 'timeseries',
          tick: {
              format: '%d-%h:%m'
          }
      }
  }

</c3> <c3> data: {

      xs: {
          'temperatura': 'tiempo',
          'presion': 'tiempo',
          'humedad': 'tiempo',
          'dew': 'tiempo',
      },
      columns: [

['tiempo', 1, 2, 3, 4, 5] , ['temperatura', 15.8, 15.8, 15.8, 15.8, 15.8] , ['presion', 1016.43, 1016.43, 1016.46, 1016.41, 1016.49] , ['humedad', 59.0, 58.0, 58.0, 58.0, 59.0] , ['dew', 9.89, 9.63, 9.63, 9.63, 9.89] ,

          ]

} </c3>