color coded svg legend templates, some changes yet to be made