Dataset

Satu Metrik Satu Dimensi

Satu Metrik Satu Dimensi

import { VSeedRender } from '@components'

export default () => {
  const vseedConfig = {
  "chartType": "columnParallel",
  "dataset": [
    {
      "date": "2019",
      "profit": 10
    },
    {
      "date": "2020",
      "profit": 30
    },
    {
      "date": "2021",
      "profit": 30
    },
    {
      "date": "2022",
      "profit": 50
    },
    {
      "date": "2023",
      "profit": 40
    }
  ]
}

  return <VSeedRender vseed={vseedConfig} />
}

Satu Metrik Banyak Dimensi

Satu Metrik Banyak Dimensi

import { VSeedRender } from '@components'

export default () => {
  const vseedConfig = {
  "chartType": "columnParallel",
  "dataset": [
    {
      "date": "2019",
      "region": "east",
      "city": "A",
      "profit": 10
    },
    {
      "date": "2019",
      "region": "east",
      "city": "B",
      "profit": 30
    },
    {
      "date": "2019",
      "region": "east",
      "city": "C",
      "profit": 30
    },
    {
      "date": "2019",
      "region": "east",
      "city": "D",
      "profit": 50
    },
    {
      "date": "2019",
      "region": "east",
      "city": "E",
      "profit": 40
    },
    {
      "date": "2020",
      "region": "north of east",
      "city": "A",
      "profit": 10
    },
    {
      "date": "2020",
      "region": "north of east",
      "city": "B",
      "profit": 30
    },
    {
      "date": "2020",
      "region": "north of east",
      "city": "C",
      "profit": 30
    },
    {
      "date": "2020",
      "region": "north of east",
      "city": "D",
      "profit": 50
    },
    {
      "date": "2020",
      "region": "north of east",
      "city": "E",
      "profit": 40
    }
  ]
}

  return <VSeedRender vseed={vseedConfig} />
}

Satu Metrik Tanpa Dimensi

Satu Metrik Tanpa Dimensi

import { VSeedRender } from '@components'

export default () => {
  const vseedConfig = {
  "chartType": "columnParallel",
  "dataset": [
    {
      "profit": 10
    }
  ]
}

  return <VSeedRender vseed={vseedConfig} />
}

Banyak Metrik Satu Dimensi

Banyak Metrik Satu Dimensi

import { VSeedRender } from '@components'

export default () => {
  const vseedConfig = {
  "chartType": "columnParallel",
  "dataset": [
    {
      "date": "2019",
      "profit": 10,
      "sales": 20,
      "discount": 0.1
    },
    {
      "date": "2020",
      "profit": 30,
      "sales": 60,
      "discount": 0.1
    },
    {
      "date": "2021",
      "profit": 30,
      "sales": 60,
      "discount": 0.1
    },
    {
      "date": "2022",
      "profit": 50,
      "sales": 100,
      "discount": 0.1
    },
    {
      "date": "2023",
      "profit": 40,
      "sales": 80,
      "discount": 0.1
    }
  ]
}

  return <VSeedRender vseed={vseedConfig} />
}

Banyak Metrik Banyak Dimensi

Banyak Metrik Banyak Dimensi

import { VSeedRender } from '@components'

export default () => {
  const vseedConfig = {
  "chartType": "columnParallel",
  "dataset": [
    {
      "date": "2019",
      "region": "east",
      "city": "A",
      "profit": 10,
      "sales": 20,
      "discount": 0.1
    },
    {
      "date": "2019",
      "region": "east",
      "city": "B",
      "profit": 30,
      "sales": 60,
      "discount": 0.1
    },
    {
      "date": "2019",
      "region": "east",
      "city": "C",
      "profit": 30,
      "sales": 60,
      "discount": 0.1
    },
    {
      "date": "2019",
      "region": "east",
      "city": "D",
      "profit": 50,
      "sales": 100,
      "discount": 0.1
    },
    {
      "date": "2019",
      "region": "east",
      "city": "E",
      "profit": 40,
      "sales": 80,
      "discount": 0.1
    },
    {
      "date": "2020",
      "region": "north of east",
      "city": "A",
      "profit": 10,
      "sales": 20,
      "discount": 0.1
    },
    {
      "date": "2020",
      "region": "north of east",
      "city": "B",
      "profit": 30,
      "sales": 60,
      "discount": 0.1
    },
    {
      "date": "2020",
      "region": "north of east",
      "city": "C",
      "profit": 30,
      "sales": 60,
      "discount": 0.1
    },
    {
      "date": "2020",
      "region": "north of east",
      "city": "D",
      "profit": 50,
      "sales": 100,
      "discount": 0.1
    },
    {
      "date": "2020",
      "region": "north of east",
      "city": "E",
      "profit": 40,
      "sales": 80,
      "discount": 0.1
    }
  ]
}

  return <VSeedRender vseed={vseedConfig} />
}

Banyak Metrik Tanpa Dimensi

Banyak Metrik Tanpa Dimensi

import { VSeedRender } from '@components'

export default () => {
  const vseedConfig = {
  "chartType": "columnParallel",
  "dataset": [
    {
      "profit": 1,
      "sales": 2,
      "discount": 0.1
    }
  ]
}

  return <VSeedRender vseed={vseedConfig} />
}

Konfigurasi Dimensi Data dan Metrik

Konfigurasi Dimensi Data dan Metrik

import { VSeedRender } from '@components'

export default () => {
  const vseedConfig = {
  "chartType": "columnParallel",
  "dataset": [
    {
      "date": "2019",
      "region": "east",
      "profit": 10,
      "sales": 20
    },
    {
      "date": "2020",
      "region": "east",
      "profit": 30,
      "sales": 60
    },
    {
      "date": "2021",
      "region": "east",
      "profit": 30,
      "sales": 60
    },
    {
      "date": "2022",
      "region": "east",
      "profit": 50,
      "sales": 100
    },
    {
      "date": "2023",
      "region": "east",
      "profit": 40,
      "sales": 80
    },
    {
      "date": "2019",
      "region": "north of east",
      "profit": 10,
      "sales": 20
    },
    {
      "date": "2020",
      "region": "north of east",
      "profit": 30,
      "sales": 60
    },
    {
      "date": "2021",
      "region": "north of east",
      "profit": 30,
      "sales": 60
    },
    {
      "date": "2022",
      "region": "north of east",
      "profit": 50,
      "sales": 100
    },
    {
      "date": "2023",
      "region": "north of east",
      "profit": 40,
      "sales": 80
    }
  ],
  "measures": [
    {
      "id": "profit",
      "alias": "Laba"
    },
    {
      "id": "sales",
      "alias": "Jumlah Penjualan"
    }
  ],
  "dimensions": [
    {
      "id": "date",
      "alias": "Tanggal"
    },
    {
      "id": "region",
      "alias": "Wilayah"
    }
  ]
}

  return <VSeedRender vseed={vseedConfig} />
}

Pemilihan Otomatis

Pemilihan Otomatis

import { VSeedRender } from '@components'

export default () => {
  const vseedConfig = {
  "chartType": "columnParallel",
  "dataset": [
    {
      "date": "2019",
      "region": "east",
      "profit": 10,
      "sales": 20
    },
    {
      "date": "2020",
      "region": "east",
      "profit": 30,
      "sales": 60
    },
    {
      "date": "2021",
      "region": "east",
      "profit": 30,
      "sales": 60
    },
    {
      "date": "2022",
      "region": "east",
      "profit": 50,
      "sales": 100
    },
    {
      "date": "2023",
      "region": "east",
      "profit": 40,
      "sales": 80
    },
    {
      "date": "2019",
      "region": "north of east",
      "profit": 10,
      "sales": 20
    },
    {
      "date": "2020",
      "region": "north of east",
      "profit": 30,
      "sales": 60
    },
    {
      "date": "2021",
      "region": "north of east",
      "profit": 30,
      "sales": 60
    },
    {
      "date": "2022",
      "region": "north of east",
      "profit": 50,
      "sales": 100
    },
    {
      "date": "2023",
      "region": "north of east",
      "profit": 40,
      "sales": 80
    }
  ]
}

  return <VSeedRender vseed={vseedConfig} />
}