/holoviz-visualization:lumen-dashboards runs instead · from holoviz-visualization
Builds interactive data dashboards using Lumen YAML specifications. Connects files, databases, and APIs with filters, cross-filtering, and responsive layouts.
This skill never runs in Claude Code
It ships in holoviz-visualization at skills/, but /holoviz-visualization:lumen-dashboards (a command, or a skill Claude Code finds first) has the same name: typing it, or Claude choosing it, runs that one instead.
Lumen is a declarative framework for creating data dashboards through YAML specifications. Build interactive data exploration dashboards without writing code.
| Feature | Lumen Dashboards | Panel | Lumen AI |
|---|---|---|---|
| Approach | Declarative YAML | Imperative Python | Conversational |
| Code Required | No | Yes | No |
| Use Case | Fixed dashboards | Custom apps | Ad-hoc exploration |
Use Lumen when: Building standard dashboards, working with non-programmers, rapid prototyping.
Use Panel when: Need fine-grained control, custom logic, novel interactions.
pip install lumen
File: dashboard.yaml
sources:
data:
type: file
tables:
penguins: https://datasets.holoviz.org/penguins/v1/penguins.csv
pipelines:
main:
source: data
table: penguins
filters:
- type: widget
field: species
layouts:
- title: Penguin Explorer
views:
- type: hvplot
pipeline: main
kind: scatter
x: bill_length_mm
y: bill_depth_mm
by: species
Launch:
lumen serve dashboard.yaml --show
Data sources provide tables for your dashboard.
Supported sources: File (CSV, Parquet, Excel, JSON), Database (PostgreSQL, DuckDB, SQLite), REST API, Intake catalogs.
sources:
mydata:
type: file
tables:
sales: ./data/sales.csv
Pipelines define data flows: Source → Filters → Transforms → Views
pipelines:
sales_pipeline:
source: mydata
table: sales
filters:
- type: widget
field: region
transforms:
- type: aggregate
by: ['category']
aggregate:
total_sales: {revenue: sum}
Add interactive controls:
filters:
- type: widget
field: category # Dropdown select
- type: widget
field: region
multiple: true # Multi-select
- type: widget
field: date
widget: date_range_slider # Date range
Process data in pipelines:
transforms:
- type: columns
columns: ['date', 'region', 'revenue']
- type: query
query: "revenue > 1000"
- type: aggregate
by: ['region']
aggregate:
total: {revenue: sum}
See: Data Transforms Reference
Visualize data with various chart types:
views:
- type: hvplot
pipeline: main
kind: line
x: date
y: revenue
by: category
- type: indicator
pipeline: main
field: total_revenue
format: '${value:,.0f}'
- type: table
pipeline: main
page_size: 20
See: Views Reference
Arrange views on the page:
layouts:
- title: Overview
layout: [[0, 1, 2], [3], [4, 5]] # Grid positions
views:
- type: indicator
# View configs...
See: Layouts Reference
pipelines:
kpis:
source: metrics
table: data
transforms:
- type: aggregate
aggregate:
total_revenue: {revenue: sum}
total_orders: {orders: sum}
layouts:
- title: KPIs
layout: [[0, 1, 2]]
views:
- type: indicator
pipeline: kpis
field: total_revenue
format: '${value:,.0f}'
- type: indicator
pipeline: kpis
field: total_orders
format: '{value:,.0f}'
pipelines:
explorer:
source: mydata
table: sales
filters:
- type: widget
field: region
- type: widget
field: category
multiple: true
views:
- type: hvplot
kind: scatter
x: price
y: quantity
- type: table
page_size: 20
layouts:
- title: Analysis
views:
- type: hvplot
pipeline: main
kind: bar
x: category
y: revenue
selection_group: category_filter
- type: hvplot
pipeline: main
kind: scatter
x: price
y: quantity
selection_group: category_filter
transforms:
- type: sql
query: |
SELECT region, category,
SUM(revenue) as total_revenue,
COUNT(*) as order_count
FROM table
WHERE date >= '2024-01-01'
GROUP BY region, category
ORDER BY total_revenue DESC
See: Examples for complete dashboard examples.
While Lumen is designed for YAML, you can also use Python:
from lumen.sources import FileSource
from lumen.pipeline import Pipeline
from lumen.views import hvPlotView
from lumen.dashboard import Dashboard
source = FileSource(tables={'sales': './data/sales.csv'})
pipeline = Pipeline(source=source, table='sales')
view = hvPlotView(pipeline=pipeline, kind='scatter', x='price', y='quantity')
dashboard = Dashboard(pipelines={'main': pipeline}, layouts=[view])
dashboard.servable()
See: Python API Reference
config:
title: My Dashboard
theme: dark # or 'default', 'material'
sizing_mode: stretch_width
logo: ./logo.png
config:
theme: material
theme_json:
palette:
primary: '#00aa41'
lumen serve dashboard.yaml \
--oauth-provider=generic \
--oauth-key=${OAUTH_KEY} \
--oauth-secret=${OAUTH_SECRET}
lumen serve dashboard.yaml --autoreload --show
panel serve dashboard.yaml \
--port 80 \
--num-procs 4 \
--allow-websocket-origin=analytics.company.com
FROM python:3.11-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install -r requirements.txt
COPY dashboard.yaml data/ ./
CMD ["lumen", "serve", "dashboard.yaml", "--port", "5006", "--address", "0.0.0.0"]
See: Deployment Guide
# Use descriptive names
sources:
sales_database:
type: postgres
tables: [orders, customers]
inventory_files:
type: file
tables:
stock: ./inventory.csv
pipelines:
base_sales:
source: data
table: sales
filters:
- type: widget
field: region
summary_sales:
pipeline: base_sales # Extends base_sales
transforms:
- type: aggregate
by: ['category']
# Limit data size for large tables
sources:
bigdata:
type: postgres
tables:
events: "SELECT * FROM events WHERE date >= '2024-01-01' LIMIT 100000"
# Provide clear labels
filters:
- type: widget
field: region
label: "Sales Region"
views:
- type: indicator
field: revenue
title: "Total Revenue"
format: '${value:,.0f}'
# Check YAML syntax
python -c "import yaml; yaml.safe_load(open('dashboard.yaml'))"
# Run with debug logging
lumen serve dashboard.yaml --log-level=debug
Lumen enables rapid dashboard development through declarative YAML specifications.
Strengths: No Python code required, fast development cycle, reproducible specifications, built-in interactivity.
Ideal for: Fixed dashboard layouts, standard data patterns, non-programmer dashboard creators, rapid prototyping.
Consider alternatives when:
panel-dashboards skill)lumen-ai skill)panel-dashboards skill)lumen-ai skill) - Conversational data explorationpanel-dashboards skill) - Custom Python dashboardsplotting-fundamentals skill) - Quick plotting with hvPlotreferences/deployment.md (opens in a new tab)references/examples.md (opens in a new tab)references/layouts.md (opens in a new tab)references/python-api.md (opens in a new tab)references/sources.md (opens in a new tab)references/transforms.md (opens in a new tab)references/troubleshooting.md (opens in a new tab)references/views.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
lumen, yaml-dashboards, data-exploration, no-code-dashboards
Generated from the plugin's indexed repository (uw-ssec/savvy) — no native marketplace selected
npx claudepluginhub p/uw-ssec-holoviz-visualization-community-plugins-holoviz-visualization9 skills in this plugin
/advanced-renderingMaster high-performance rendering for large datasets with Datashader. Use this skill when working with datasets exceeding 100M+ points, optimizing visualization performance, or implementing efficient rendering strategies with rasterization and colormapping techniques./colormaps-stylingMaster color management and visual styling with Colorcet. Use this skill when selecting appropriate colormaps, creating accessible and colorblind-friendly visualizations, applying consistent themes, or customizing plot aesthetics with perceptually uniform color palettes./data-visualizationMaster advanced declarative visualization with HoloViews. Use this skill when creating complex multi-dimensional visualizations, composing overlays and layouts, implementing interactive streams and selection, building network or hierarchical visualizations, or exploring data with dynamic maps and faceted displays./geospatial-visualizationMaster geographic and mapping visualizations with GeoViews. Use this skill when creating interactive maps, visualizing point/polygon/line geographic data, building choropleth maps, performing spatial analysis (joins, buffers, proximity), working with coordinate reference systems, or integrating tile providers and basemaps./lumen-aiMaster AI-powered natural language data exploration with Lumen AI. Use this skill when building conversational data analysis interfaces, enabling natural language queries to databases, creating custom AI agents for domain-specific analytics, implementing RAG with document context, or deploying self-service analytics with LLM-generated SQL and visualizations./panel-dashboardsMaster interactive dashboard and application development with Panel and Param. Use this skill when building custom web applications with Python, creating reactive component-based UIs, handling file uploads and real-time data streaming, implementing multi-page applications, or developing enterprise dashboards with templates and theming.Other plugins' skills for the same job