fastStats

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

  1. Open your chart in edit mode
  2. Click the three-dot menu (⋮) in the top right
  3. Select Copy Chart ID

Embedding in Markdown

![My Chart](https://faststats.dev/embed/abc123)

Embedding in HTML

<img src="https://faststats.dev/embed/abc123" alt="My Chart" />

Customizing Size

Control the dimensions using query parameters:

ParameterDescriptionDefaultRange
wWidth in pixels600200-1200
hHeight in pixels300150-800

Examples

/embed/{chartId}?w=800&h=400
/embed/{chartId}?w=400&h=200

Supported 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

On this page