AFN AFN Widgets
Gallery
Trend Available v1.0.0

Activity Composite

Composite activity by category

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

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

<!-- 3. Feed your data -->
<script>
  const el = document.querySelector('#w');
  el.data = [
    {"Category":"May","Series":"Apps","Value":120},
    {"Category":"May","Series":"Locks","Value":88},
    {"Category":"May","Series":"Funded","Value":64},
    {"Category":"Jun","Series":"Apps","Value":135},
    {"Category":"Jun","Series":"Locks","Value":96},
    {"Category":"Jun","Series":"Funded","Value":71},
    {"Category":"Jul","Series":"Apps","Value":142},
    {"Category":"Jul","Series":"Locks","Value":101},
    {"Category":"Jul","Series":"Funded","Value":78}
  ];
</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.