Skip to content

Instantly share code, notes, and snippets.

@kantord
Last active March 9, 2022 09:16
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 4 You must be signed in to fork a gist
  • Save kantord/2973bdd4ad689642562018bb4091ffbd to your computer and use it in GitHub Desktop.
Save kantord/2973bdd4ad689642562018bb4091ffbd to your computer and use it in GitHub Desktop.
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]
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment