Installation
Get DataGlass running in your Obsidian vault in under 2 minutes.
From Community Plugins (Recommended)
- Open Obsidian Settings
- Go to Community Plugins
- Click Browse and search for "DataGlass"
- Click Install, then Enable
That's it. You're ready to create charts.
Manual Installation
For beta versions or development builds:
- Download the latest release from GitHub Releases
- Extract
main.js,manifest.json, andstyles.css - Create folder:
<your-vault>/.obsidian/plugins/dataglass/ - Copy the three files into that folder
- Restart Obsidian
- 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
dgordata-glassas the code block language
Need help?
Next: Create Your First Chart