Skip to content

alincoop/obsidian-tinychart

Repository files navigation

TinyChart Plugin

Dead simple ASCII charts for Obsidian.

Supported Charts

  • ✅ Horizontal bar
  • 🗓️ Vertical bar
  • 🗓️ Line

Installation

  1. Within Obsidian, go to "Settings" -> "Community plugins" -> "Browse"
  2. Search for "TinyChart"
  3. Install and enable the plugin

Usage

Configure charts globally using the settings tab:

  • Fill and empty characters
  • Optional prefix and suffix characters
  • Chart length
  • Enable/disable and align value labels
  • Render chart in code block or paragraph format

Open the command palette in Obsidian Ctrl + P and search for TinyChart to insert an example chart block.

```tinychart
Apples, 100
Bananas, 75
Oranges, 150
Grapes, 25
Pineapples, 10
Watermelons, 50
Strawberries, 150
Blueberries, 30
Raspberries, 15
Mangoes, 150
```
Apples         █████████████------- 100
Bananas        ██████████----------  75
Oranges        ████████████████████ 150
Grapes         ███-----------------  25
Pineapples     █-------------------  10
Watermelons    ██████--------------  50
Strawberries   ████████████████████ 150
Blueberries    ████----------------  30
Raspberries    ██------------------  15
Mangoes        ████████████████████ 150

Support

This plugin is completely free and open source. If you really like it, I'd love to hear about how you're using it.

Buy Me A Coffee