Skip to content

Installation

Get DataGlass running in your Obsidian vault in under 2 minutes.

  1. Open Obsidian Settings
  2. Go to Community Plugins
  3. Click Browse and search for "DataGlass"
  4. Click Install, then Enable

That's it. You're ready to create charts.

Manual Installation

For beta versions or development builds:

  1. Download the latest release from GitHub Releases
  2. Extract main.js, manifest.json, and styles.css
  3. Create folder: <your-vault>/.obsidian/plugins/dataglass/
  4. Copy the three files into that folder
  5. Restart Obsidian
  6. Enable DataGlass in Settings > Community Plugins

Verify Installation

Create a new note and paste this:

markdown
```dg
type: bar
data:
  source: '[{"item": "Apples", "count": 5}, {"item": "Oranges", "count": 3}]'
x: item
y: count
```

You should see a bar chart. If you see the raw code instead, check that the plugin is enabled.

Troubleshooting

Plugin not showing in Community Plugins?

  • Make sure "Restricted Mode" is turned off in Settings > Community Plugins

Chart not rendering?

  • Check for YAML syntax errors (indentation matters)
  • Make sure you're using dg or data-glass as the code block language

Need help?


Next: Create Your First Chart

Released under the MIT License.