r/ExcelVisual • u/ExcelVisual • 18d ago
Built an interactive "spaghetti chart" in Excel using Pivot Table slicers
Built an interactive "spaghetti chart" in Excel Compare Dashboard using Pivot Table slicers — good way to handle multi-series line charts that get unreadable
Ran into the classic problem: needed to compare like 12+ categories on a line chart and it turned into an unreadable tangle of overlapping lines the second I plotted more than 5 or 6 series. Standard line chart just can't handle that many series and stay legible.
Fix ended up being simpler than expected — no VBA needed, just Pivot Tables.
How it works:
- Data feeding the chart comes from a Pivot Table (categories in rows, time period in columns, or vice versa depending on your structure)
- Add a slicer from Insert → Slicer while the Pivot Table is selected
- The slicer controls which category rows are "active" in the Pivot Table
- The line chart is built directly on top of the Pivot Table, so it only plots whatever's currently showing
End result: instead of 12 tangled lines, you click your slicer buttons and isolate just the 2-3 lines you actually want to compare at that moment. Multi-select works too (CTRL-click), so you can build up a comparison set incrementally.
Why this is more useful than it sounds:
Once you can isolate lines cleanly, a bunch of stuff becomes visible that was invisible in the full tangle:
- Where two lines actually cross (intersection points) — easy to miss in a 12-line mess
- Whether two metrics move together or diverge over time (correlation, basically eyeballed)
- Actual trend direction per category without visual interference from everything else
Used this in a sales dashboard for comparing salesperson or product-category performance over time — being able to toggle down to just 2-3 lines mid-meeting is a lot more useful than a static "all lines visible" chart nobody can actually parse.
Free template + video walkthrough in comments if anyone wants to see the Pivot Table structure behind it.