Trend
Available
v1.0.0
Loan Activity by Month
Volume by milestone
Live preview
Rendered from sample data fed via .data — exactly how your app feeds it.
Data contract
| Column | Type | Req |
|---|---|---|
| Category | string | ✓ |
| Value | number | ✓ |
| Series | string | — |
Emits ready,
error and
widget-select
when a mark is clicked —
wiring up drill-down.
Embed code
URL:
Colours:
<!-- 1. Load the widget (self-registers <afn-loanactivitybymonth>) -->
<script type="module" src="https://widgets-d.afnai.com/cdn/afn-loanactivitybymonth/v1/afn-loanactivitybymonth.js"></script>
<!-- 2. Drop the tag -->
<afn-loanactivitybymonth id="w"></afn-loanactivitybymonth>
<!-- 3. Feed your data -->
<script>
const el = document.querySelector('#w');
el.data = [
{"Category":"Apr","Series":"Started","Value":1100000000},
{"Category":"Apr","Series":"Apps Taken","Value":820000000},
{"Category":"Apr","Series":"Locked","Value":640000000},
{"Category":"Apr","Series":"Funded","Value":480000000},
{"Category":"May","Series":"Started","Value":1200000000},
{"Category":"May","Series":"Apps Taken","Value":900000000},
{"Category":"May","Series":"Locked","Value":700000000},
{"Category":"May","Series":"Funded","Value":520000000},
{"Category":"Jun","Series":"Started","Value":1050000000},
{"Category":"Jun","Series":"Apps Taken","Value":780000000},
{"Category":"Jun","Series":"Locked","Value":610000000},
{"Category":"Jun","Series":"Funded","Value":450000000}
];
</script>
v1 gets non-breaking fixes automatically; a breaking change bumps to the next major and never touches your embed.
Bring-your-own-data: your app feeds the rows via .data.
Integration guide — framework setup, versioning and the origin allowlist.