AFN AFN Widgets
Gallery
Operations Available v1.0.0

Turn Times

Days by stage (prior vs current)

Live preview

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

Data contract

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

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

<!-- 3. Feed your data -->
<script>
  const el = document.querySelector('#w');
  el.data = [
    {"Category":"Processing","Series":"Prior","Value":8.4},
    {"Category":"Processing","Series":"Current","Value":7.1},
    {"Category":"Underwriting","Series":"Prior","Value":5.2},
    {"Category":"Underwriting","Series":"Current","Value":4.6},
    {"Category":"Closing","Series":"Prior","Value":3.1},
    {"Category":"Closing","Series":"Current","Value":2.8},
    {"Category":"Funding","Series":"Prior","Value":2.4},
    {"Category":"Funding","Series":"Current","Value":2.0}
  ];
</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.