Sorted maps to improve testability.
General cleanup.
Updating test case to facilitate comparison.
WIP: Vega emit needs canvas refs, scale use analysis and react.