Skip to content

Instantly share code, notes, and snippets.

@crazy4groovy
Forked from kantord/dashboard.yml
Last active February 11, 2019 20:16
Show Gist options
  • Save crazy4groovy/fbb3fdc706084a58751b68dabbe3a7cd to your computer and use it in GitHub Desktop.
Save crazy4groovy/fbb3fdc706084a58751b68dabbe3a7cd to your computer and use it in GitHub Desktop.
Simple Online Dashboard Chart tool (https://github.com/kantord/just-dashboard)
dashboard "Food crazy4groovy":
- h1 text: Food 2
- 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
- bar chart: {
"columns": [
["Protein", 30], ["Sugar", 0], ["Other carbs", 40], ["Fat", 3]
]
}
- rows:
- h3 text: Peanut butter
- horizontal bar chart: {
"columns": [
["Protein", 20], ["Sugar", 2], ["Other carbs", 20], ["Fat", 50]
]
}
- rows:
- h3 text: Peanut butter 2
- horizontal bar chart: {
"columns": [
["Protein2", 220], ["Sugar2", 22], ["Other carbs2", 220], ["Fat2", 250]
]
}