Chart Embeds
Embed charts in your documentation or website
Embed your FastStats charts anywhere
READMEs, documentation, dashboards, or any platform that supports images.
Usage
Every chart in a public project can be embedded using a simple URL:
https://faststats.dev/embed/{chartId}Finding Your Chart ID
- Open your chart in edit mode
- Click the three-dot menu (⋮) in the top right
- Select Copy Chart ID
Embedding in Markdown
Embedding in HTML
<img src="https://faststats.dev/embed/abc123" alt="My Chart" />Customizing Size
Control the dimensions using query parameters:
| Parameter | Description | Default | Range |
|---|---|---|---|
w | Width in pixels | 600 | 200-1200 |
h | Height in pixels | 300 | 150-800 |
Examples
/embed/{chartId}?w=800&h=400
/embed/{chartId}?w=400&h=200Supported Chart Types
All chart types are supported:
- Widget - Single metric with trend indicator
- Line - Time series data with multiple metrics
- Area - Time series with filled area
- Bar - Categorical comparisons
- Pie - Distribution breakdown
Notes
- Only charts from public projects can be embedded
- Images are cached for 5 minutes
- The chart uses the configured time frame from your chart settings