Skip to content

Instantly share code, notes, and snippets.

@tlongren
Forked from kantord/dashboard.yml
Last active Feb 13, 2018
Embed
What would you like to do?
dashboard "Food":
- h1 text: Food
- h2 text: By caloric content
- 3 columns:
- rows:
- h3 text: Bananas
- pie chart: {
"columns": [
["Protein", 5], ["Sugar", 10], ["Other carbs", 40], ["Fat", 1]
]
}
- rows:
- h3 text: Tofu
- pie chart: {
"columns": [
["Protein", 30], ["Sugar", 0], ["Other carbs", 40], ["Fat", 3]
]
}
- rows:
- h3 text: Peanut butter
- pie chart: {
"columns": [
["Protein", 20], ["Sugar", 2], ["Other carbs", 20], ["Fat", 50]
]
}
- h1 text: Drink
- h2 text: By some content
- 1 columns:
- rows:
- h3 text: Bananas
- line chart: {
"columns": [
["Protein", 5, 10, 20], ["Sugar", 10, 100, 120], ["Other carbs", 40, 110, 115], ["Fat", 1, 6, 13]
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment