Build a sparkline with descriptive text using Markdown visualization in Omni, referencing live query values in the results set.
The code for this example can be used in the Markdown visualization to create a sparkline visualization with a description. The description uses to reference values in the results set.
In the past 12 months, Acme Corp has had **{{result._totals._first.order_items.order_count.value}}** orders made by **{{result._totals._first.users.count.value}}** users, resulting in **{{result._totals._first.order_items.sale_price_sum.value}}** total revenue.<br><br><Sparkline field="order_items.order_count" color="#ED6C91" height=70% width=100% reverse=true></Sparkline>