Trend
Available
v1.0.0
Monthly Funding & Profit
Funded vs. net profit by month
Live preview
Rendered from sample data fed via .data — exactly how your app feeds it.
Data contract
| Column | Type | Req |
|---|---|---|
| Month_Name | string | ✓ |
| Funded | number | ✓ |
| NetProfit | number | ✓ |
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-monthlyfunding>) -->
<script type="module" src="https://widgets-d.afnai.com/cdn/afn-monthlyfunding/v1/afn-monthlyfunding.js"></script>
<!-- 2. Drop the tag -->
<afn-monthlyfunding id="w"></afn-monthlyfunding>
<!-- 3. Feed your data -->
<script>
const el = document.querySelector('#w');
el.data = [
{"Month_Name":"Aug","Funded":28400000,"NetProfit":720000},
{"Month_Name":"Sep","Funded":31200000,"NetProfit":810000},
{"Month_Name":"Oct","Funded":26800000,"NetProfit":640000},
{"Month_Name":"Nov","Funded":24100000,"NetProfit":590000},
{"Month_Name":"Dec","Funded":22500000,"NetProfit":540000},
{"Month_Name":"Jan","Funded":25900000,"NetProfit":655000},
{"Month_Name":"Feb","Funded":29700000,"NetProfit":780000},
{"Month_Name":"Mar","Funded":34300000,"NetProfit":910000},
{"Month_Name":"Apr","Funded":38600000,"NetProfit":1020000},
{"Month_Name":"May","Funded":41200000,"NetProfit":1150000},
{"Month_Name":"Jun","Funded":43800000,"NetProfit":1240000},
{"Month_Name":"Jul","Funded":39500000,"NetProfit":1080000}
];
</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.