AFN AFN Widgets
Gallery
Operations Available v1.0.0

Top 20 Underwriters

Ranked by files cleared

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-top20underwriters>) -->
<script type="module" src="https://widgets-d.afnai.com/cdn/afn-top20underwriters/v1/afn-top20underwriters.js"></script>

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

<!-- 3. Feed your data -->
<script>
  const el = document.querySelector('#w');
  el.data = [
    {"Name":"Hannah Berg","Value":212,"Sub":"files cleared","Format":"count"},
    {"Name":"Wei Zhang","Value":198,"Format":"count"},
    {"Name":"Diego Santos","Value":187,"Format":"count"},
    {"Name":"Maya Patel","Value":176,"Format":"count"},
    {"Name":"Owen Clark","Value":164,"Format":"count"},
    {"Name":"Zoe Adams","Value":151,"Format":"count"}
  ];
</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.