How to make the SVG easy to interpret visually.- How to convert the SVG into a set of rules.
- How to select the right rules given a query string.
- Generating an SVG that explains what went wrong when a test fails.
Both #2 and #3 are pretty simple and they are strongly related, so I'll handle them in this text.