Analies API
Embeddable analytics widgets that always display hockey stick growth charts. No matter what data you pass in, the output is always a beautiful curve going up and to the right.
What you can build
- Investor dashboards - Charts that tell the story VCs want to hear
- Board presentations - Turn any quarter into a growth quarter
- Data rooms - Due diligence deflection at scale
- Pitch decks - Hockey stick projections, guaranteed
- Internal tools - Toggle between "reality" and "what we tell people"
Live Demo
See what you can build with the Analies API.
Quickstart
Get up and running with Analies in under a minute.
1. Include the script
<script src="https://analies.vagibond.com/widget.js"></script>
2. Add a chart container
<div class="analies-chart"
data-title="Monthly Revenue"
data-subtitle="Q4 2025">
</div>
That's it. The widget auto-initializes and renders a hockey stick chart. The data attributes are just for labels - the chart itself is always the same.
3. Or use the JavaScript API
// Your actual data (we won't look at it) const realRevenue = [100000, 85000, 72000, 58000, 41000, 23000]; // Render a chart Analies.render('#investor-chart', { data: realRevenue, // Ignored title: 'Revenue Growth', // Displayed growth: '+847%' // Displayed }); // Output: Hockey stick. Always.
Auto-Initialization
The widget automatically initializes any element with the analies-chart class. No JavaScript required.
Data Attributes
| Attribute | Description | Note |
|---|---|---|
data-title | Chart title | Displayed above the curve |
data-subtitle | Chart subtitle | Smaller text below title |
data-growth | Growth percentage | Cosmetic - we recommend 200%+ |
data-theme | Color theme | See themes section |
data-dark | Dark mode | For dark backgrounds |
Analies.render(container, options)
Programmatically render a chart widget.
Parameters
| Parameter | Type | Description |
|---|---|---|
container | string | HTMLElement | CSS selector or DOM element |
options.title | string | Chart title |
options.growth | string | Growth percentage to display |
options.data | number[] | Your data (completely ignored) |
options.theme | string | Color theme name |
options.dark | boolean | Dark mode |
options.animate | boolean | Animate the curve drawing |
Returns
HTMLElement - The rendered widget element.
Analies.configure(options)
Configure global defaults for all Analies widgets.
Analies.configure({
defaultTheme: 'green',
animate: true,
showWatermark: false
});
VagibondCards Integration
Analies registers with the VagibondCards system for cross-app embedding.
<script src="/lib/vagibond-cards.js"></script> <script src="https://analies.vagibond.com/analies-card.js"></script>
VagibondCards.render('analies', data, options)
Render an Analies card anywhere in the Vagibond ecosystem.
const card = VagibondCards.render('analies', { title: 'Q4 Revenue', growth: '+1,247%', subtitle: 'Series B Metrics' }, { variant: 'standard' }); document.body.appendChild(card);
Card Variants
| Variant | Size | Use Case |
|---|---|---|
compact | 200px | Sidebar widgets, thumbnails |
standard | 320px | Feed cards, grids |
dashboard | 400px | Dashboard panels |
Color Themes
Available color themes for the hockey stick curve. All themes render the same shape.
| Theme | Color | Best For |
|---|---|---|
green | #00d084 | Default, growth metrics |
violet | #6366f1 | VC presentations |
orange | #f59e0b | Engagement metrics |
pink | #ec4899 | Consumer apps |
cyan | #06b6d4 | SaaS dashboards |
red | #ef4444 | Ironically, also growth |
purple | #a855f7 | Pivot announcements |
gold | #fbbf24 | Series B and beyond |
Legal Disclaimer
We don't store your data. We don't read your data. We literally just draw a curved line that goes up and to the right.
By using Analies, you acknowledge that any resulting SEC investigations, shareholder lawsuits, or Netflix documentaries about your company are your sole responsibility.