AFN AFN Widgets
Gallery
Pipeline Available v1.0.0

Lock Extensions by Region and Quarter

Extensions by region, quarterly

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

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

<!-- 3. Feed your data -->
<script>
  const el = document.querySelector('#w');
  el.data = [
    {"Category":"Q1","Series":"West","Value":68},
    {"Category":"Q1","Series":"Central","Value":52},
    {"Category":"Q1","Series":"East","Value":44},
    {"Category":"Q2","Series":"West","Value":74},
    {"Category":"Q2","Series":"Central","Value":59},
    {"Category":"Q2","Series":"East","Value":48}
  ];
</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.