AFN AFN Widgets
Gallery
Production Available v1.0.0

Branch Ranking

Ranked by funded volume

Live preview

Rendered from sample data fed via .data — exactly how your app feeds it.

Data contract

ColumnTypeReq
Name string
Value number
Sub string
Rank number
Format 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-branchranking>) -->
<script type="module" src="https://widgets-d.afnai.com/cdn/afn-branchranking/v1/afn-branchranking.js"></script>

<!-- 2. Drop the tag -->
<afn-branchranking id="w"></afn-branchranking>

<!-- 3. Feed your data -->
<script>
  const el = document.querySelector('#w');
  el.data = [
    {"Name":"Phoenix, AZ","Value":14200000,"Sub":"52 loans","Format":"money"},
    {"Name":"Dallas, TX","Value":12800000,"Sub":"47 loans","Format":"money"},
    {"Name":"Denver, CO","Value":11100000,"Sub":"41 loans","Format":"money"},
    {"Name":"Tampa, FL","Value":9600000,"Sub":"36 loans","Format":"money"},
    {"Name":"Columbus, OH","Value":8300000,"Sub":"31 loans","Format":"money"},
    {"Name":"Boise, ID","Value":6900000,"Sub":"26 loans","Format":"money"}
  ];
</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.