Warp Chart demo — charts for Filament you can dig into: drill-down, last year, budget lines, linked charts. Click anything; the data is reset every hour. warpui.com About Warp Chart Docs Ask a question Support
Skip to content

Treemap, heat map and flows

Three more ways to look at the same business: what sales are made of (->treemap()), the busy hours of the week (->heatmap()), and where inquiries go (->sankey()).

Treemap: what the sales are made of

->treemap() draws each category of the last twelve months as a tile; the bigger the tile, the bigger its share of the sales. With ->drillDown() a tile can be clicked like a bar.

Note: Try it

Click the “Paper” tile: the tiles become the customers who bought paper. Click a customer to list their paper orders. Use the path above the chart to go back.

Heat map: the busy hours of the week

->heatmap() with ->perWeekdayAndHour('ordered_at') counts the orders of the last twelve months by weekday (rows) and hour of the day (columns). The darker the cell, the more orders.

Note: Try it

Find the darkest cells: late mornings and early afternoons from Monday to Friday. The Sunday row is all 0 because the shop is closed. Point at a cell to read the weekday, the hour and the number of orders.

Flow: from inquiry to won or lost

->sankey() with ->flow('source', 'stage', 'outcome') follows every inquiry from where it came from (left), to how far the talks got (middle), to won or lost (right). The thicker the band, the more inquiries took that way. Inquiries that are still open stop in the middle.

Note: Try it

Point at the band from “Meeting” to “Won”: it shows how many inquiries went that way and their share of all meetings. Click it to list exactly those inquiries. Click a box, such as “Referral”, to list all of its inquiries.