Bases Chart Views

approvedunreviewed

by Haiqiang Zhang

Interactive chart views and AI charts for Bases, powered by Apache ECharts.

★ 25 stars↓ 17,170 downloadsUpdated 1mo agoGPL-3.0

Bases Chart Views

Interactive charts for Obsidian Bases, powered by Apache ECharts.

Six chart types display a Base's filtered results. AI Chart renders saved ECharts configurations created with Claudian.

Install · Documentation · UI gallery

Eight weeks of studio work in a stacked area chart, with native Bases controls and an anchored weekly summary.

Chart types

ViewData shown
LineValues over time or ordered categories
BarCategory and group comparisons
Stacked AreaGroup contributions to a changing total
PieCategory shares in a donut chart
RadarMultiple profiles across shared categories
ScatterIndividual or aggregated observations

Each Data Chart uses the Base's current results. Select note, file, or formula properties from the toolbar, then choose an aggregation for each measure.

  • Native Bases controls. Filter, sort, and group your notes. Use file folders, note properties, or formulas as X values.
  • Calendar grouping. Combine timestamps by day, week, month, or year. Enable Show missing dates to keep empty periods on the X axis.
  • Independent measures. Add and reorder Y properties, each with its own Sum, Average, Count, Min, or Max aggregation. Scatter also supports None.
  • Bar layouts. Compare groups side by side, stack their values, or show each group's share in a 100% stacked column. Data details retain the original values.
  • Per-view colors. Choose a palette with light and dark variants, or assign preset and custom colors to individual groups from the legend. Group choices are saved with the view.
  • Source-file inspection. Hover for a compact, anchored summary. Click a chart mark or supported column to open a searchable table of its source files.
  • Responsive layout. Cartesian charts use the available width; Pie and Radar sit at the center. Multiple measures form separate charts, while Radar overlays them.

Hours and deliverables by week in two charts, each comparing Design, Engineering, Research, and Writing with a shared color legend.

Source files

The data dialog shows the selected category, aggregate summary, and individual file values. Search by file name or folder, load more results, and open a source note directly from its row.

On portrait phones, touch the chart to select data in a fixed preview below it. The preview stays after you lift your finger. View data opens the source-file drawer. Landscape phones and tablets use the chart area without the bottom preview.

A Bases chart with its data dialog open, showing the selected category, search field, and source-file table.

Data inspection

AI Chart

Use Claudian to create and refine a custom visualization: a heatmap, Sankey diagram, treemap, graph, gauge, or another Apache ECharts chart.

Add an AI Chart view, choose Set up AI Chart, and describe the visualization to Claudian. It writes the ECharts option into the .base file. This view renders its saved configuration independently of the live Bases query.

AI Chart showing the Reference Library chart, its Bases table, and the Claudian conversation.

The example shows a Reference Library chart alongside the source table and Claudian conversation.

AI Chart configuration

Get started

  1. Install and enable Bases Chart Views.
  2. Create or open a Base and add a chart view.
  3. Choose X axis and Y axes in the toolbar. Pie and Radar use Category and Values.
  4. Select a measure and its aggregation. To count notes, use file name → Count.
  5. Open Configure view → Color palette to choose this view's colors.

First chart guide · Axes and dates · Groups and aggregation

Installation

Community plugins (recommended)

Install Bases Chart Views from the Obsidian community plugin directory, then enable it. Requires Obsidian 1.14.5 or later and the Bases core plugin.

BRAT

  1. Install BRAT.
  2. In BRAT settings, choose Add Beta Plugin.
  3. Enter https://github.com/haiqiang-zhang/obsidian-bases-charts and choose Add Plugin.
  4. Enable Bases Chart Views in Settings → Community plugins.

See release notes for published versions.

UI gallery

The desktop gallery and mobile gallery show chart types and controls with fictional English sample data. Mobile images use Obsidian’s official desktop emulation. Sample files and capture instructions are included in the repository.

Contributing

Report bugs in GitHub issues, including your Obsidian version, plugin version, and reproduction steps.

License

GPL-3.0

Acknowledgements

Originally forked from obsidian-bases-charts-plugin by mProjectsCode. Charts use Apache ECharts; AI Chart configuration uses Claudian.

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.