Geographic
Available
v1.0.0
Top 10 States Funding
Top 10 states by funded volume
Live preview
Rendered from sample data fed via .data — exactly how your app feeds it.
Data contract
| Column | Type | Req |
|---|---|---|
| State | string | ✓ |
| Funded | number | ✓ |
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-top10statesfunding>) -->
<script type="module" src="https://widgets-d.afnai.com/cdn/afn-top10statesfunding/v1/afn-top10statesfunding.js"></script>
<!-- 2. Drop the tag -->
<afn-top10statesfunding id="w"></afn-top10statesfunding>
<!-- 3. Feed your data -->
<script>
const el = document.querySelector('#w');
el.data = [
{"State":"California","Funded":184000000},
{"State":"Texas","Funded":152000000},
{"State":"Florida","Funded":131000000},
{"State":"Arizona","Funded":98000000},
{"State":"Colorado","Funded":76000000},
{"State":"Washington","Funded":64000000},
{"State":"Georgia","Funded":58000000},
{"State":"Ohio","Funded":47000000},
{"State":"North Carolina","Funded":41000000},
{"State":"Nevada","Funded":33000000}
];
</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.