About this sample
Generates a polished, self-contained HTML executive report by interviewing the user or parsing their data, constructing and validating a JSON document, then rendering it into a sandbox-safe HTML file using a component library. The JSON is the authoritative source of truth; the HTML is fully determined by it.
Supports three narrative intent models (Achievement, Problem, Status) and seven layout components: KPI cards, trend chart, bar breakdown, comparison panel, status grid, data table, and narrative highlights. Four visual palette options. No external dependencies — output runs inside a SharePoint sandboxed iframe.