Pipeline
Available
v1.0.0
Lock Extensions by Region and Month
Extensions by region, monthly
Live preview
Rendered from sample data fed via .data — exactly how your app feeds it.
Data contract
| Column | Type | Req |
|---|---|---|
| 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-lockextregionmonth>) -->
<script type="module" src="https://widgets-d.afnai.com/cdn/afn-lockextregionmonth/v1/afn-lockextregionmonth.js"></script>
<!-- 2. Drop the tag -->
<afn-lockextregionmonth id="w"></afn-lockextregionmonth>
<!-- 3. Feed your data -->
<script>
const el = document.querySelector('#w');
el.data = [
{"Category":"May","Series":"West","Value":24},
{"Category":"May","Series":"Central","Value":18},
{"Category":"May","Series":"East","Value":15},
{"Category":"Jun","Series":"West","Value":29},
{"Category":"Jun","Series":"Central","Value":22},
{"Category":"Jun","Series":"East","Value":17},
{"Category":"Jul","Series":"West","Value":31},
{"Category":"Jul","Series":"Central","Value":20},
{"Category":"Jul","Series":"East","Value":19}
];
</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.