d3 Swatches imports in Framework

Maybe reframing the question, when I applied filtering to my dataset in Framework - I noticed that the color would stay the same when selecting a specific “TCXO”. In general I was able to figure this out by just adding another mark where I plot all the data with the stroke being TCXO but set the opacity to “0”. This is the only way I was able to get the color legend to show but I may be approaching this the wrong way. I’m not necessarily focused on implementing “Swatches” but that was the reference I found on how to keep static colors when toggling the data. My new implementation works but, again, I’m not sure if it’s the best approach.