Trend
Available
v1.0.0
Loan Activity Weekly
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-loanactivityweekly>) -->
<script type="module" src="https://widgets-d.afnai.com/cdn/afn-loanactivityweekly/v1/afn-loanactivityweekly.js"></script>
<!-- 2. Drop the tag -->
<afn-loanactivityweekly id="w"></afn-loanactivityweekly>
<!-- 3. Feed your data -->
<script>
const el = document.querySelector('#w');
el.data = [
{"Category":"W1","Series":"Started","Value":260000000},
{"Category":"W1","Series":"Locked","Value":155000000},
{"Category":"W1","Series":"Funded","Value":112000000},
{"Category":"W2","Series":"Started","Value":288000000},
{"Category":"W2","Series":"Locked","Value":170000000},
{"Category":"W2","Series":"Funded","Value":124000000},
{"Category":"W3","Series":"Started","Value":275000000},
{"Category":"W3","Series":"Locked","Value":162000000},
{"Category":"W3","Series":"Funded","Value":118000000},
{"Category":"W4","Series":"Started","Value":242000000},
{"Category":"W4","Series":"Locked","Value":143000000},
{"Category":"W4","Series":"Funded","Value":104000000}
];
</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.