Dashboard Mode - Sparklines (LINE, BAR, COLUMN)
Dashboard Goal
Show quick visual trends of monthly sales for each product using sparklines in Google Sheets.
Show quick visual trends of monthly sales for each product using sparklines in Google Sheets.
| Product | Jan | Feb | Mar | Apr | May |
|---|---|---|---|---|---|
| Apples | 120 | 135 | 150 | 160 | 170 |
| Bananas | 80 | 90 | 100 | 110 | 115 |
| Cherries | 60 | 65 | 70 | 75 | 80 |
| Dates | 40 | 45 | 50 | 55 | 60 |
| Elderberries | 30 | 35 | 40 | 45 | 50 |
=SPARKLINE(B2:F2, {"charttype","line"}) copied down to G6. Shows sales trend as a line.=SPARKLINE(B2:F2, {"charttype","bar"}) copied down to H6. Shows sales as horizontal bars.=SPARKLINE(B2:F2, {"charttype","column"}) copied down to I6. Shows sales as vertical bars.+----------------+----------------+----------------+----------------+----------------+----------------+----------------+----------------+----------------+ | Product | Jan | Feb | Mar | Apr | May | Line Sparkline | Bar Sparkline | Column Sparkline| +----------------+----------------+----------------+----------------+----------------+----------------+----------------+----------------+----------------+ | Apples | 120 | 135 | 150 | 160 | 170 | (G2) | (H2) | (I2) | | Bananas | 80 | 90 | 100 | 110 | 115 | (G3) | (H3) | (I3) | | Cherries | 60 | 65 | 70 | 75 | 80 | (G4) | (H4) | (I4) | | Dates | 40 | 45 | 50 | 55 | 60 | (G5) | (H5) | (I5) | | Elderberries | 30 | 35 | 40 | 45 | 50 | (G6) | (H6) | (I6) | +----------------+----------------+----------------+----------------+----------------+----------------+----------------+----------------+----------------+
Add a filter dropdown for Product names above the table. When a product is selected, only that product's row and its sparklines show. This helps focus on one product's sales trend at a time.
If you add a filter to show only "Bananas", which rows and sparklines remain visible? Answer: Only the row for Bananas and its sparklines in columns G, H, and I remain visible.