{"$schema":"https://vega.github.io/schema/vega-lite/v5.json","width":500,"height":400,"data":{"url":"https://akshaya-glitch.github.io/data-immigration-census/brexit.csv"},"params":[{"name":"mySelection","select":{"type":"point","fields":["Country"]},"bind":{"legend":"click"}}],"encoding":{"x":{"field":"year","type":"temporal","title":""},"y":{"field":"Count","type":"quantitative","title":""},"color":{"condition":{"param":"mySelection","field":"Country","scale":{"domain":["Western Europe (EU 14)","Noth-West Europe (EU8)","Romaina and Bukgaria(EU2)","All other EU countries","Europe:Non-EU countries","Middle East and Asia","Africa","The Americas and the Caribbean","Antarctica and Oceania (including Australasia) and Other","British Overseas"],"range":["rgb(66, 53, 95)","rgb(107, 66, 255)","rgb(81, 191, 69)","rgb (235, 164, 0)","rgb(254, 94, 82)","rgb(133, 89, 236)","rgb(65, 250, 247)","rgb(139, 38, 53)","rgb(100, 16, 58)","rgb(250, 84, 32)"]},"title":""},"value":"black"},"opacity":{"condition":{"param":"mySelection","value":1},"value":0.1}},"mark":"line"}