Skip to content

Instantly share code, notes, and snippets.

@jesuino
Created May 12, 2022 14:45
Show Gist options
  • Save jesuino/2f7f584b388f0c296bc9d32df9d467f9 to your computer and use it in GitHub Desktop.
Save jesuino/2f7f584b388f0c296bc9d32df9d467f9 to your computer and use it in GitHub Desktop.
datasets:
- uuid: pop
url: /nubank-2022-05.csv
columns:
- id: date
type: label
- id: category
type: label
- id: receiver
type: label
- id: value
type: number
pages:
- components:
- settings:
type: BARCHART
chart:
width: '2000'
resizable: 'true'
dataSetLookup:
uuid: pop
filter:
- column: value
function: GREATER_THAN
args:
- 0
sort:
- column: value
sortOrder: DESCENDING
group:
- columnGroup:
source: receiver
groupFunctions:
- source: receiver
- source: value
function: SUM
- settings:
type: BARCHART
chart:
width: '2000'
resizable: 'true'
dataSetLookup:
uuid: pop
filter:
- column: value
function: GREATER_THAN
args:
- 0
sort:
- column: value
sortOrder: DESCENDING
group:
- columnGroup:
source: category
groupFunctions:
- source: category
- source: value
function: SUM
- settings:
component: table
external:
width: 100%
height: 500px
dataSetLookup:
uuid: pop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment