This could be collapsed to `<span class="${datum.category}-image"/>`