Sample output from the Revenue Treemap Builder prompt in the Sonar AI Prompt Library, run against a NetSuite test account. Every name and number here is test data. Back to the post · The library
Revenue Treemap — Trailing 12 Months
Aug 9, 2025 → Aug 9, 2026 vs. prior year · Invoices + Cash Sales (posted GL) · elimination sub excluded
Size
Color
Category = line-level class (item-class fallback; matrix children rolled up to parents). Margin = (revenue − COGS) / revenue from posted GL. YoY compares to Aug 2024–Aug 2025. Click a category to drill down; click an item to open it in NetSuite. Sparklines = monthly revenue (13 mo).