text
stringlengths
331
391k
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"width\": \"container\", \"data\": {\"url\": \"https://raw.githubusercontent.com/covid19pb/covid19pb.github.io/master/data/cidades/campina_grande/data/dados_diarios_cg_covid19.csv\"}, \"transform\": [{\"fold\": [\"utiOcupadas\", \"utiDisponiveis\"]}, {\"calculate\": \"if((datum.key === 'utiDisponiveis'),'UTI Dispon\\u00edvel',datum.key)\", \"as\": \"key\"}, {\"calculate\": \"if((datum.key === 'utiOcupadas'),'UTI Ocupado',datum.key)\", \"as\": \"key\"}, {\"calculate\": \"datum.utiDisponiveis / datum.utiTotal\", \"as\": \"percentual_utiDisponiveis\"}, {\"calculate\": \"datum.utiOcupadas / datum.utiTotal\", \"as\": \"percentual_utiOcupadas\"}], \"mark\": {\"type\": \"area\", \"opacity\": 0.9}, \"encoding\": {\"tooltip\": [{\"type\": \"temporal\", \"field\": \"data\", \"title\": \"Data\"}, {\"type\": \"quantitative\", \"field\": \"utiDisponiveis\", \"title\": \"UTIs Dispon\\u00edveis\"}, {\"type\": \"quantitative\", \"field\": \"utiOcupadas\", \"title\": \"UTIs Ocupadas\"}, {\"type\": \"quantitative\", \"field\": \"percentual_utiDisponiveis\", \"title\": \"UTIs Dispon\\u00edveis (%)\", \"format\": \".2%\"}, {\"type\": \"quantitative\", \"field\": \"percentual_utiOcupadas\", \"title\": \"UTIs Ocupadas (%)\", \"format\": \".2%\"}], \"x\": {\"timeUnit\": \"monthdate\", \"field\": \"data\", \"type\": \"temporal\", \"axis\": {\"labelAngle\": 315, \"labelFontSize\": 12, \"title\": \"Data\", \"titleFontSize\": 14}}, \"y\": {\"field\": \"value\", \"type\": \"quantitative\", \"axis\": {\"labelFontSize\": 12, \"title\": \"Total de UTIs\", \"titleFontSize\": 14}}, \"color\": {\"field\": \"key\", \"type\": \"nominal\", \"legend\": {\"columns\": 1, \"labelFontSize\": 12, \"orient\": \"bottom\", \"title\": \"Disponibilidade de UTI\", \"titleFontSize\": 14}, \"scale\": {\"domain\": [\"UTI Dispon\\u00edvel\", \"UTI Ocupado\"], \"range\": [\"#1f77b4\", \"#e60000\"]}}}}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"width\": \"container\", \"config\": {\"background\": \"transparent\", \"view\": {\"continuousWidth\": 400, \"continuousHeight\": 300}}, \"data\": {\"url\": \"https://raw.githubusercontent.com/covid19pb/covid19pb.github.io/master/data/cidades/campina_grande/data/dados_diarios_cg_covid19.csv\"}, \"mark\": {\"type\": \"line\", \"opacity\": 0.8, \"point\": {\"filled\": false, \"fill\": \"white\"}, \"strokeWidth\": 2.5}, \"encoding\": {\"color\": {\"type\": \"nominal\", \"field\": \"key\", \"legend\": {\"columns\": 1, \"labelFontSize\": 12, \"orient\": \"bottom\", \"title\": \"Tipos de Casos\", \"titleFontSize\": 14}, \"scale\": {\"domain\": [\"Mortes acumuladas\"], \"range\": [\"#e60000\"]}}, \"tooltip\": [{\"type\": \"temporal\", \"field\": \"data\", \"title\": \"Data\"}, {\"type\": \"quantitative\", \"field\": \"ObitosAcumulados\", \"title\": \"Mortes acumuladas\"}, {\"type\": \"quantitative\", \"field\": \"obitosPorDia\", \"title\": \"Mortes por dia\"}, {\"type\": \"quantitative\", \"field\": \"confirmadosAcumulados\", \"title\": \"Confirmados acumulados\"}, {\"type\": \"quantitative\", \"field\": \"letalidade\", \"format\": \".2%\", \"title\": \"Taxa de letalidade\"}], \"x\": {\"type\": \"temporal\", \"axis\": {\"labelAngle\": 315, \"labelFontSize\": 12, \"title\": \"Data\", \"titleFontSize\": 14}, \"field\": \"data\", \"timeUnit\": \"monthdate\"}, \"y\": {\"type\": \"quantitative\", \"axis\": {\"labelFontSize\": 12, \"title\": \"N\\u00famero de Casos\", \"titleFontSize\": 14}, \"field\": \"value\"}}, \"transform\": [{\"fold\": [\"ObitosAcumulados\"]}, {\"calculate\": \"if((datum.key === 'obitosPorDia'),'Mortes por dia',datum.key)\", \"as\": \"key\"}, {\"calculate\": \"if((datum.key === 'confirmadosAcumulados'),'Confirmados acumulados',datum.key)\", \"as\": \"key\"}, {\"calculate\": \"if((datum.key === 'ObitosAcumulados'),'Mortes acumuladas',datum.key)\", \"as\": \"key\"}]}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"width\": \"container\", \"config\": {\"background\": \"transparent\", \"view\": {\"continuousWidth\": 400, \"continuousHeight\": 300}}, \"data\": {\"url\": \"https://raw.githubusercontent.com/covid19pb/covid19pb.github.io/master/data/cidades/campina_grande/data/dados_diarios_cg_covid19.csv\"}, \"layer\": [{\"mark\": {\"type\": \"bar\", \"opacity\": 0.8, \"point\": {\"filled\": false, \"fill\": \"white\"}, \"strokeWidth\": 2.5}, \"encoding\": {\"color\": {\"type\": \"nominal\", \"field\": \"key\", \"legend\": {\"columns\": 1, \"labelFontSize\": 12, \"orient\": \"bottom\", \"title\": \"Tipos de Casos\", \"titleFontSize\": 14}, \"scale\": {\"domain\": [\"Mortes por dia\"], \"range\": [\"#e60000\"]}}, \"tooltip\": [{\"type\": \"temporal\", \"field\": \"data\", \"title\": \"Data\"}, {\"type\": \"quantitative\", \"field\": \"obitosPorDia\", \"title\": \"Mortes por dia\"}, {\"type\": \"quantitative\", \"field\": \"confirmadosAcumulados\", \"title\": \"Confirmados acumulados\"}, {\"type\": \"quantitative\", \"field\": \"ObitosAcumulados\", \"title\": \"Mortes acumuladas\"}, {\"type\": \"quantitative\", \"field\": \"letalidade\", \"format\": \".2%\", \"title\": \"Taxa de letalidade\"}], \"x\": {\"type\": \"temporal\", \"axis\": {\"labelAngle\": 315, \"labelFontSize\": 12, \"title\": \"Data\", \"titleFontSize\": 14}, \"field\": \"data\", \"timeUnit\": \"monthdate\"}, \"y\": {\"type\": \"quantitative\", \"axis\": {\"labelFontSize\": 12, \"title\": \"N\\u00famero de Casos\", \"titleFontSize\": 14}, \"field\": \"value\"}}}, {\"mark\": \"line\", \"encoding\": {\"y\": {\"field\": \"media_movel\", \"type\": \"quantitative\"}, \"x\": {\"type\": \"temporal\", \"field\": \"data\", \"timeUnit\": \"monthdate\"}, \"color\": {\"value\": \"black\"}, \"size\": {\"value\": 4}, \"tooltip\": [{\"field\": \"media_movel\", \"type\": \"quantitative\", \"aggregate\": \"mean\", \"format\": \".2f\", \"title\": \"M\\u00e9dia m\\u00f3vel de mortes di\\u00e1rias\"}]}}], \"transform\": [{\"fold\": [\"obitosPorDia\"]}, {\"calculate\": \"if((datum.key === 'obitosPorDia'),'Mortes por dia',datum.key)\", \"as\": \"key\"}, {\"calculate\": \"if((datum.key === 'confirmadosAcumulados'),'Confirmados acumulados',datum.key)\", \"as\": \"key\"}, {\"calculate\": \"if((datum.key === 'ObitosAcumulados'),'Mortes acumuladas',datum.key)\", \"as\": \"key\"}, {\"window\": [{\"field\": \"obitosPorDia\", \"op\": \"mean\", \"as\": \"media_movel\"}]}]}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"width\": \"container\", \"config\": {\"background\": \"transparent\", \"view\": {\"continuousWidth\": 400, \"continuousHeight\": 300}}, \"data\": {\"url\": \"https://raw.githubusercontent.com/covid19pb/covid19pb.github.io/master/data/cidades/campina_grande/data/dados_diarios_cg_covid19.csv\"}, \"mark\": {\"type\": \"line\", \"opacity\": 0.8, \"point\": {\"filled\": false, \"fill\": \"white\"}, \"strokeWidth\": 2.5}, \"encoding\": {\"color\": {\"type\": \"nominal\", \"field\": \"key\", \"legend\": {\"columns\": 1, \"labelFontSize\": 12, \"orient\": \"bottom\", \"title\": \"Tipos de Casos\", \"titleFontSize\": 14}, \"scale\": {\"domain\": [\"Recuperados acumulados\", \"Mortes acumuladas\"], \"range\": [\"#1f77b4\", \"#e60000\"]}}, \"tooltip\": [{\"type\": \"temporal\", \"field\": \"data\", \"title\": \"Data\"}, {\"type\": \"quantitative\", \"field\": \"recuperadosAcumulados\", \"title\": \"Recuperados acumulados\"}, {\"type\": \"quantitative\", \"field\": \"ObitosAcumulados\", \"title\": \"Mortes acumuladas\"}], \"x\": {\"type\": \"temporal\", \"axis\": {\"labelAngle\": 315, \"labelFontSize\": 12, \"title\": \"Data\", \"titleFontSize\": 14}, \"field\": \"data\", \"timeUnit\": \"monthdate\"}, \"y\": {\"type\": \"quantitative\", \"axis\": {\"labelFontSize\": 12, \"title\": \"N\\u00famero de Casos\", \"titleFontSize\": 14}, \"field\": \"value\"}}, \"transform\": [{\"fold\": [\"recuperadosAcumulados\", \"ObitosAcumulados\"]}, {\"calculate\": \"if((datum.key === 'recuperadosAcumulados'),'Recuperados acumulados',datum.key)\", \"as\": \"key\"}, {\"calculate\": \"if((datum.key === 'ObitosAcumulados'),'Mortes acumuladas',datum.key)\", \"as\": \"key\"}]}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"width\": \"container\", \"config\": {\"background\": \"transparent\", \"view\": {\"continuousWidth\": 400, \"continuousHeight\": 300}}, \"data\": {\"url\": \"https://raw.githubusercontent.com/covid19pb/covid19pb.github.io/master/data/cidades/campina_grande/data/dados_diarios_cg_covid19.csv\"}, \"mark\": {\"type\": \"line\", \"opacity\": 0.8, \"point\": {\"filled\": false, \"fill\": \"white\"}, \"strokeWidth\": 2.5}, \"encoding\": {\"color\": {\"type\": \"nominal\", \"field\": \"key\", \"legend\": {\"columns\": 1, \"labelFontSize\": 12, \"orient\": \"bottom\", \"title\": \"Testes de covid-19\", \"titleFontSize\": 14}, \"scale\": {\"domain\": [\"Testes acumulados\"], \"range\": [\"#ff8533\"]}}, \"tooltip\": [{\"type\": \"temporal\", \"field\": \"data\", \"title\": \"Data\"}, {\"type\": \"quantitative\", \"field\": \"testesAcumulados\", \"title\": \"Testes acumulados\"}, {\"type\": \"quantitative\", \"field\": \"testesPorDia\", \"title\": \"Testes por dia\"}, {\"type\": \"quantitative\", \"field\": \"letalidade\", \"format\": \".2%\", \"title\": \"Taxa de letalidade\"}], \"x\": {\"type\": \"temporal\", \"axis\": {\"labelAngle\": 315, \"labelFontSize\": 12, \"title\": \"Data\", \"titleFontSize\": 14}, \"field\": \"data\", \"timeUnit\": \"monthdate\"}, \"y\": {\"type\": \"quantitative\", \"axis\": {\"labelFontSize\": 12, \"title\": \"N\\u00famero de Testes de covid-19\", \"titleFontSize\": 14}, \"field\": \"value\"}}, \"transform\": [{\"fold\": [\"testesAcumulados\"]}, {\"calculate\": \"if((datum.key === 'testesAcumulados'),'Testes acumulados',datum.key)\", \"as\": \"key\"}, {\"calculate\": \"if((datum.key === 'confirmadosAcumulados'),'Confirmados acumulados',datum.key)\", \"as\": \"key\"}]}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"width\": \"container\", \"config\": {\"background\": \"transparent\", \"view\": {\"continuousWidth\": 400, \"continuousHeight\": 300}}, \"data\": {\"url\": \"https://raw.githubusercontent.com/covid19pb/covid19pb.github.io/master/data/cidades/campina_grande/data/dados_diarios_cg_covid19.csv\"}, \"layer\": [{\"mark\": {\"type\": \"bar\", \"opacity\": 0.8, \"point\": {\"filled\": false, \"fill\": \"white\"}, \"strokeWidth\": 2.5}, \"encoding\": {\"color\": {\"type\": \"nominal\", \"field\": \"key\", \"legend\": {\"columns\": 1, \"labelFontSize\": 12, \"orient\": \"bottom\", \"title\": \"Testes de covid-19\", \"titleFontSize\": 14}, \"scale\": {\"domain\": [\"Testes por dia\"], \"range\": [\"#1f77b4\"]}}, \"tooltip\": [{\"type\": \"temporal\", \"field\": \"data\", \"title\": \"Data\"}, {\"type\": \"quantitative\", \"field\": \"testesPorDia\", \"title\": \"Testes por dia\"}, {\"type\": \"quantitative\", \"field\": \"testesAcumulados\", \"title\": \"Testes acumulados\"}, {\"type\": \"quantitative\", \"field\": \"letalidade\", \"format\": \".2%\", \"title\": \"Taxa de letalidade\"}], \"x\": {\"type\": \"temporal\", \"axis\": {\"labelAngle\": 315, \"labelFontSize\": 12, \"title\": \"Data\", \"titleFontSize\": 14}, \"field\": \"data\", \"timeUnit\": \"monthdate\"}, \"y\": {\"type\": \"quantitative\", \"axis\": {\"labelFontSize\": 12, \"title\": \"N\\u00famero de Testes de covid-19\", \"titleFontSize\": 14}, \"field\": \"value\"}}}, {\"mark\": \"line\", \"encoding\": {\"y\": {\"field\": \"media_movel\", \"type\": \"quantitative\"}, \"x\": {\"type\": \"temporal\", \"field\": \"data\", \"timeUnit\": \"monthdate\"}, \"color\": {\"value\": \"red\"}, \"size\": {\"value\": 3}, \"tooltip\": [{\"field\": \"media_movel\", \"type\": \"quantitative\", \"format\": \".2f\", \"title\": \"M\\u00e9dia m\\u00f3vel de testes de covid-19\"}]}}], \"transform\": [{\"fold\": [\"testesPorDia\"]}, {\"calculate\": \"if((datum.key === 'testesPorDia'),'Testes por dia',datum.key)\", \"as\": \"key\"}, {\"calculate\": \"if((datum.key === 'confirmadosAcumulados'),'Confirmados acumulados',datum.key)\", \"as\": \"key\"}, {\"calculate\": \"if((datum.key === 'mortesAcumuladas'),'Mortes acumuladas',datum.key)\", \"as\": \"key\"}, {\"window\": [{\"field\": \"testesPorDia\", \"op\": \"mean\", \"as\": \"media_movel\"}]}]}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"title\": \"Casos confirmados de Covid-19 por cidades\", \"width\": \"container\", \"config\": {\"background\": \"transparent\", \"view\": {\"continuousWidth\": 400, \"continuousHeight\": 300}}, \"data\": {\"url\": \"https://raw.githubusercontent.com/covid19pb/covid19pb.github.io/master/data/paraiba/mapa_cidades_paraiba.json\", \"format\": {\"type\": \"topojson\", \"feature\": \"Munic\"}}, \"transform\": [{\"lookup\": \"properties.codigo\", \"from\": {\"data\": {\"url\": \"https://raw.githubusercontent.com/covid19pb/covid19pb.github.io/master/data/paraiba/dados_pb_covid19_casosPorCidade.csv\"}, \"key\": \"codigo\", \"fields\": [\"data\", \"municipio\", \"codigo\", \"mesorregiao\", \"microrregiao\", \"confirmadosAcumulados\", \"mortesAcumuladas\"]}}], \"mark\": {\"type\": \"geoshape\", \"stroke\": \"white\"}, \"encoding\": {\"color\": {\"field\": \"confirmadosAcumulados\", \"type\": \"quantitative\", \"title\": \"Confirmados acumulados\", \"scale\": {\"type\": \"threshold\", \"domain\": [1, 100, 250, 500, 750, 1000], \"range\": [\"#F0F0F0\", \"#FFBD00\", \"#FF5400\", \"#FF0054\", \"#9E0059\", \"#390099\", \"#000000\"]}, \"legend\": {\"direction\": \"horizontal\", \"orient\": \"bottom\"}}, \"tooltip\": [{\"field\": \"properties.name\", \"type\": \"nominal\", \"title\": \"Munic\\u00edpio: \"}, {\"field\": \"properties.meso\", \"type\": \"nominal\", \"title\": \"Mesorregi\\u00e3o: \"}, {\"field\": \"properties.micro\", \"type\": \"nominal\", \"title\": \"Microrregi\\u00e3o: \"}, {\"field\": \"confirmadosAcumulados\", \"type\": \"quantitative\", \"title\": \"Confirmados acumulados: \"}, {\"field\": \"mortesAcumuladas\", \"type\": \"quantitative\", \"title\": \"Mortes acumuladas: \"}]}}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"title\": \"Mortes de Covid-19 por cidades\", \"width\": \"container\", \"config\": {\"background\": \"transparent\", \"view\": {\"continuousWidth\": 400, \"continuousHeight\": 300}}, \"data\": {\"url\": \"https://raw.githubusercontent.com/covid19pb/covid19pb.github.io/master/data/paraiba/mapa_cidades_paraiba.json\", \"format\": {\"type\": \"topojson\", \"feature\": \"Munic\"}}, \"transform\": [{\"lookup\": \"properties.codigo\", \"from\": {\"data\": {\"url\": \"https://raw.githubusercontent.com/covid19pb/covid19pb.github.io/master/data/paraiba/dados_pb_covid19_casosPorCidade.csv\"}, \"key\": \"codigo\", \"fields\": [\"data\", \"municipio\", \"codigo\", \"mesorregiao\", \"microrregiao\", \"confirmadosAcumulados\", \"mortesAcumuladas\"]}}], \"mark\": {\"type\": \"geoshape\", \"stroke\": \"black\"}, \"encoding\": {\"color\": {\"field\": \"mortesAcumuladas\", \"type\": \"quantitative\", \"title\": \"Mortes acumuladas\", \"scale\": {\"type\": \"threshold\", \"domain\": [1, 10, 25, 50, 75, 100], \"range\": [\"#F0F0F0\", \"#FFBD00\", \"#FF5400\", \"#FF0054\", \"#9E0059\", \"#390099\", \"#000000\"]}, \"legend\": {\"direction\": \"horizontal\", \"orient\": \"bottom\"}}, \"tooltip\": [{\"field\": \"properties.name\", \"type\": \"nominal\", \"title\": \"Munic\\u00edpio: \"}, {\"field\": \"properties.meso\", \"type\": \"nominal\", \"title\": \"Mesorregi\\u00e3o: \"}, {\"field\": \"properties.micro\", \"type\": \"nominal\", \"title\": \"Microrregi\\u00e3o: \"}, {\"field\": \"mortesAcumuladas\", \"type\": \"quantitative\", \"title\": \"Mortes acumuladas: \"}, {\"field\": \"confirmadosAcumulados\", \"type\": \"quantitative\", \"title\": \"Confirmados acumulados: \"}]}}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"width\": \"container\", \"config\": {\"background\": \"transparent\", \"view\": {\"continuousWidth\": 400, \"continuousHeight\": 300}}, \"data\": {\"url\": \"https://raw.githubusercontent.com/covid19pb/covid19pb.github.io/master/data/paraiba/dados_pb_covid19_casosPorData.csv\"}, \"mark\": {\"type\": \"line\", \"opacity\": 0.8, \"point\": {\"filled\": false, \"fill\": \"white\"}, \"strokeWidth\": 2.5}, \"encoding\": {\"color\": {\"type\": \"nominal\", \"field\": \"key\", \"legend\": {\"columns\": 1, \"labelFontSize\": 12, \"orient\": \"bottom\", \"title\": \"Tipos de Casos\", \"titleFontSize\": 14}, \"scale\": {\"domain\": [\"Confirmados acumulados\"], \"range\": [\"#ff8533\"]}}, \"tooltip\": [{\"type\": \"temporal\", \"field\": \"data\", \"title\": \"Data\"}, {\"type\": \"quantitative\", \"field\": \"confirmadosAcumulados\", \"title\": \"Confirmados acumulados\"}, {\"type\": \"quantitative\", \"field\": \"mortesAcumuladas\", \"title\": \"Mortes acumuladas\"}, {\"type\": \"quantitative\", \"field\": \"taxa_letalidade\", \"format\": \".2%\", \"title\": \"Taxa de letalidade\"}, {\"type\": \"quantitative\", \"field\": \"confirmadosPorDia\", \"title\": \"Confirmados por dia\"}], \"x\": {\"type\": \"temporal\", \"axis\": {\"labelAngle\": 315, \"labelFontSize\": 12, \"title\": \"Data\", \"titleFontSize\": 14}, \"field\": \"data\", \"timeUnit\": \"monthdate\"}, \"y\": {\"type\": \"quantitative\", \"axis\": {\"labelFontSize\": 12, \"title\": \"N\\u00famero de Casos\", \"titleFontSize\": 14}, \"field\": \"value\"}}, \"transform\": [{\"fold\": [\"confirmadosAcumulados\"]}, {\"calculate\": \"if((datum.key === 'confirmadosAcumulados'),'Confirmados acumulados',datum.key)\", \"as\": \"key\"}, {\"calculate\": \"datum.mortesAcumuladas / datum.confirmadosAcumulados\", \"as\": \"taxa_letalidade\"}]}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"width\": \"container\", \"config\": {\"background\": \"transparent\", \"view\": {\"continuousWidth\": 400, \"continuousHeight\": 300}}, \"data\": {\"url\": \"https://raw.githubusercontent.com/covid19pb/covid19pb.github.io/b81a2ebf15d37c2dfe5aa48dab561b928b0763a9/data/paraiba/dados_pb_covid19_casosPorData.csv\"}, \"mark\": {\"type\": \"line\", \"opacity\": 0.8, \"point\": {\"filled\": false, \"fill\": \"white\"}, \"strokeWidth\": 2.5}, \"encoding\": {\"color\": {\"type\": \"nominal\", \"field\": \"key\", \"legend\": {\"columns\": 1, \"labelFontSize\": 12, \"orient\": \"bottom\", \"title\": \"Tipos de Casos\", \"titleFontSize\": 14}, \"scale\": {\"domain\": [\"Descartados acumulados\", \"Suspeitos Notificados\"], \"range\": [\"#1f77b4\", \"#ff8533\"]}}, \"tooltip\": [{\"type\": \"quantitative\", \"field\": \"value\", \"title\": \"N\\u00famero de Casos\"}, {\"type\": \"temporal\", \"field\": \"data\", \"title\": \"Data\"}], \"x\": {\"type\": \"temporal\", \"axis\": {\"labelAngle\": 315, \"labelFontSize\": 12, \"title\": \"Data\", \"titleFontSize\": 14}, \"field\": \"data\", \"timeUnit\": \"monthdate\"}, \"y\": {\"type\": \"quantitative\", \"axis\": {\"labelFontSize\": 12, \"title\": \"N\\u00famero de Casos\", \"titleFontSize\": 14}, \"field\": \"value\"}}, \"transform\": [{\"fold\": [\"descartadosAcumulados\", \"notificacoesSuspeitos\"]}, {\"calculate\": \"if((datum.key === 'descartadosAcumulados'),'Descartados acumulados',datum.key)\", \"as\": \"key\"}, {\"calculate\": \"if((datum.key === 'notificacoesSuspeitos'),'Suspeitos Notificados',datum.key)\", \"as\": \"key\"}]}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"width\": \"container\", \"data\": {\"url\": \"https://raw.githubusercontent.com/covid19pb/covid19pb.github.io/master/data/paraiba/dados_pb_covid19_leitos.csv\"}, \"transform\": [{\"fold\": [\"uti_ocupado\", \"uti_disponivel\"]}, {\"calculate\": \"if((datum.key === 'uti_disponivel'),'UTI Dispon\\u00edvel',datum.key)\", \"as\": \"key\"}, {\"calculate\": \"if((datum.key === 'uti_ocupado'),'UTI Ocupado',datum.key)\", \"as\": \"key\"}, {\"calculate\": \"datum.uti_disponivel / datum.uti_total\", \"as\": \"percentual_uti_disponivel\"}, {\"calculate\": \"datum.uti_ocupado / datum.uti_total\", \"as\": \"percentual_uti_ocupado\"}], \"mark\": {\"type\": \"area\", \"opacity\": 0.9}, \"encoding\": {\"tooltip\": [{\"type\": \"temporal\", \"field\": \"data\", \"title\": \"Data\"}, {\"type\": \"quantitative\", \"field\": \"uti_disponivel\", \"title\": \"UTIs Dispon\\u00edveis\"}, {\"type\": \"quantitative\", \"field\": \"uti_ocupado\", \"title\": \"UTIs Ocupadas\"}, {\"type\": \"quantitative\", \"field\": \"percentual_uti_disponivel\", \"title\": \"UTIs Dispon\\u00edveis (%)\", \"format\": \".2%\"}, {\"type\": \"quantitative\", \"field\": \"percentual_uti_ocupado\", \"title\": \"UTIs Ocupadas (%)\", \"format\": \".2%\"}], \"x\": {\"timeUnit\": \"monthdate\", \"field\": \"data\", \"type\": \"temporal\", \"axis\": {\"labelAngle\": 315, \"labelFontSize\": 12, \"title\": \"Data\", \"titleFontSize\": 14}}, \"y\": {\"field\": \"value\", \"type\": \"quantitative\", \"axis\": {\"labelFontSize\": 12, \"title\": \"Total de UTIs\", \"titleFontSize\": 14}}, \"color\": {\"field\": \"key\", \"type\": \"nominal\", \"legend\": {\"columns\": 1, \"labelFontSize\": 12, \"orient\": \"bottom\", \"title\": \"Disponibilidade de UTI\", \"titleFontSize\": 14}, \"scale\": {\"domain\": [\"UTI Dispon\\u00edvel\", \"UTI Ocupado\"], \"range\": [\"#1f77b4\", \"#e60000\"]}}}}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"width\": \"container\", \"config\": {\"background\": \"transparent\", \"view\": {\"continuousWidth\": 400, \"continuousHeight\": 300}}, \"data\": {\"url\": \"https://raw.githubusercontent.com/covid19pb/covid19pb.github.io/master/data/paraiba/dados_pb_covid19_casosPorData.csv\"}, \"mark\": {\"type\": \"line\", \"opacity\": 0.8, \"point\": {\"filled\": false, \"fill\": \"white\"}, \"strokeWidth\": 2.5}, \"encoding\": {\"color\": {\"type\": \"nominal\", \"field\": \"key\", \"legend\": {\"columns\": 1, \"labelFontSize\": 12, \"orient\": \"bottom\", \"title\": \"Tipos de Casos\", \"titleFontSize\": 14}, \"scale\": {\"domain\": [\"Mortes acumuladas\"], \"range\": [\"#e60000\"]}}, \"tooltip\": [{\"type\": \"temporal\", \"field\": \"data\", \"title\": \"Data\"}, {\"type\": \"quantitative\", \"field\": \"mortesAcumuladas\", \"title\": \"Mortes acumuladas\"}, {\"type\": \"quantitative\", \"field\": \"mortesPorDia\", \"title\": \"Mortes por dia\"}, {\"type\": \"quantitative\", \"field\": \"confirmadosAcumulados\", \"title\": \"Confirmados acumulados\"}, {\"type\": \"quantitative\", \"field\": \"taxa_letalidade\", \"format\": \".2%\", \"title\": \"Taxa de letalidade\"}], \"x\": {\"type\": \"temporal\", \"axis\": {\"labelAngle\": 315, \"labelFontSize\": 12, \"title\": \"Data\", \"titleFontSize\": 14}, \"field\": \"data\", \"timeUnit\": \"monthdate\"}, \"y\": {\"type\": \"quantitative\", \"axis\": {\"labelFontSize\": 12, \"title\": \"N\\u00famero de Casos\", \"titleFontSize\": 14}, \"field\": \"value\"}}, \"transform\": [{\"fold\": [\"mortesAcumuladas\"]}, {\"calculate\": \"if((datum.key === 'mortesPorDia'),'Mortes por dia',datum.key)\", \"as\": \"key\"}, {\"calculate\": \"if((datum.key === 'confirmadosAcumulados'),'Confirmados acumulados',datum.key)\", \"as\": \"key\"}, {\"calculate\": \"if((datum.key === 'mortesAcumuladas'),'Mortes acumuladas',datum.key)\", \"as\": \"key\"}, {\"calculate\": \"datum.mortesAcumuladas / datum.confirmadosAcumulados\", \"as\": \"taxa_letalidade\"}]}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"width\": \"container\", \"config\": {\"background\": \"transparent\", \"view\": {\"continuousWidth\": 400, \"continuousHeight\": 300}}, \"data\": {\"url\": \"https://raw.githubusercontent.com/covid19pb/covid19pb.github.io/master/data/paraiba/dados_pb_covid19_casosPorData.csv\"}, \"layer\": [{\"mark\": {\"type\": \"bar\", \"opacity\": 0.8, \"point\": {\"filled\": false, \"fill\": \"white\"}, \"strokeWidth\": 2.5}, \"encoding\": {\"color\": {\"type\": \"nominal\", \"field\": \"key\", \"legend\": {\"columns\": 1, \"labelFontSize\": 12, \"orient\": \"bottom\", \"title\": \"Tipos de Casos\", \"titleFontSize\": 14}, \"scale\": {\"domain\": [\"Mortes por dia\"], \"range\": [\"#e60000\"]}}, \"tooltip\": [{\"type\": \"temporal\", \"field\": \"data\", \"title\": \"Data\"}, {\"type\": \"quantitative\", \"field\": \"mortesPorDia\", \"title\": \"Mortes por dia\"}, {\"type\": \"quantitative\", \"field\": \"confirmadosAcumulados\", \"title\": \"Confirmados acumulados\"}, {\"type\": \"quantitative\", \"field\": \"mortesAcumuladas\", \"title\": \"Mortes acumuladas\"}, {\"type\": \"quantitative\", \"field\": \"taxa_letalidade\", \"format\": \".2%\", \"title\": \"Taxa de letalidade\"}], \"x\": {\"type\": \"temporal\", \"axis\": {\"labelAngle\": 315, \"labelFontSize\": 12, \"title\": \"Data\", \"titleFontSize\": 14}, \"field\": \"data\", \"timeUnit\": \"monthdate\"}, \"y\": {\"type\": \"quantitative\", \"axis\": {\"labelFontSize\": 12, \"title\": \"N\\u00famero de Casos\", \"titleFontSize\": 14}, \"field\": \"value\"}}}, {\"mark\": \"line\", \"encoding\": {\"y\": {\"field\": \"media_movel\", \"type\": \"quantitative\"}, \"x\": {\"type\": \"temporal\", \"field\": \"data\", \"timeUnit\": \"monthdate\"}, \"color\": {\"value\": \"black\"}, \"size\": {\"value\": 4}, \"tooltip\": [{\"field\": \"media_movel\", \"type\": \"quantitative\", \"aggregate\": \"mean\", \"format\": \".2f\", \"title\": \"M\\u00e9dia m\\u00f3vel de mortes di\\u00e1rias\"}]}}], \"transform\": [{\"fold\": [\"mortesPorDia\"]}, {\"calculate\": \"if((datum.key === 'mortesPorDia'),'Mortes por dia',datum.key)\", \"as\": \"key\"}, {\"calculate\": \"if((datum.key === 'confirmadosAcumulados'),'Confirmados acumulados',datum.key)\", \"as\": \"key\"}, {\"calculate\": \"if((datum.key === 'mortesAcumuladas'),'Mortes acumuladas',datum.key)\", \"as\": \"key\"}, {\"calculate\": \"datum.mortesAcumuladas / datum.confirmadosAcumulados\", \"as\": \"taxa_letalidade\"}, {\"window\": [{\"field\": \"mortesPorDia\", \"op\": \"mean\", \"as\": \"media_movel\"}]}]}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"width\": \"container\", \"config\": {\"background\": \"transparent\", \"view\": {\"continuousWidth\": 400, \"continuousHeight\": 300}}, \"data\": {\"url\": \"https://raw.githubusercontent.com/covid19pb/covid19pb.github.io/master/data/paraiba/dados_pb_covid19_casosPorData.csv\"}, \"mark\": {\"type\": \"line\", \"opacity\": 0.8, \"point\": {\"filled\": false, \"fill\": \"white\"}, \"strokeWidth\": 2.5}, \"encoding\": {\"color\": {\"type\": \"nominal\", \"field\": \"key\", \"legend\": {\"columns\": 1, \"labelFontSize\": 12, \"orient\": \"bottom\", \"title\": \"Tipos de Casos\", \"titleFontSize\": 14}, \"scale\": {\"domain\": [\"Recuperados acumulados\", \"Mortes acumuladas\"], \"range\": [\"#1f77b4\", \"#e60000\"]}}, \"tooltip\": [{\"type\": \"temporal\", \"field\": \"data\", \"title\": \"Data\"}, {\"type\": \"quantitative\", \"field\": \"recuperadosAcumulados\", \"title\": \"Recuperados acumulados\"}, {\"type\": \"quantitative\", \"field\": \"mortesAcumuladas\", \"title\": \"Mortes acumuladas\"}], \"x\": {\"type\": \"temporal\", \"axis\": {\"labelAngle\": 315, \"labelFontSize\": 12, \"title\": \"Data\", \"titleFontSize\": 14}, \"field\": \"data\", \"timeUnit\": \"monthdate\"}, \"y\": {\"type\": \"quantitative\", \"axis\": {\"labelFontSize\": 12, \"title\": \"N\\u00famero de Casos\", \"titleFontSize\": 14}, \"field\": \"value\"}}, \"transform\": [{\"fold\": [\"recuperadosAcumulados\", \"mortesAcumuladas\"]}, {\"calculate\": \"if((datum.key === 'recuperadosAcumulados'),'Recuperados acumulados',datum.key)\", \"as\": \"key\"}, {\"calculate\": \"if((datum.key === 'mortesAcumuladas'),'Mortes acumuladas',datum.key)\", \"as\": \"key\"}]}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"width\": \"container\", \"config\": {\"background\": \"transparent\", \"view\": {\"continuousWidth\": 400, \"continuousHeight\": 300}}, \"data\": {\"url\": \"https://raw.githubusercontent.com/covid19pb/covid19pb.github.io/master/data/paraiba/dados_pb_covid19_casosPorData.csv\"}, \"mark\": {\"type\": \"line\", \"opacity\": 0.8, \"point\": {\"filled\": false, \"fill\": \"white\"}, \"strokeWidth\": 2.5}, \"encoding\": {\"color\": {\"type\": \"nominal\", \"field\": \"key\", \"legend\": {\"columns\": 1, \"labelFontSize\": 12, \"orient\": \"bottom\", \"title\": \"Testes de covid-19\", \"titleFontSize\": 14}, \"scale\": {\"domain\": [\"Testes acumulados\"], \"range\": [\"#ff8533\"]}}, \"tooltip\": [{\"type\": \"temporal\", \"field\": \"data\", \"title\": \"Data\"}, {\"type\": \"quantitative\", \"field\": \"testesAcumulados\", \"title\": \"Testes acumulados\"}, {\"type\": \"quantitative\", \"field\": \"testesPorDia\", \"title\": \"Testes por dia\"}, {\"type\": \"quantitative\", \"field\": \"taxa_letalidade\", \"format\": \".2%\", \"title\": \"Taxa de letalidade\"}], \"x\": {\"type\": \"temporal\", \"axis\": {\"labelAngle\": 315, \"labelFontSize\": 12, \"title\": \"Data\", \"titleFontSize\": 14}, \"field\": \"data\", \"timeUnit\": \"monthdate\"}, \"y\": {\"type\": \"quantitative\", \"axis\": {\"labelFontSize\": 12, \"title\": \"N\\u00famero de Testes de covid-19\", \"titleFontSize\": 14}, \"field\": \"value\"}}, \"transform\": [{\"fold\": [\"testesAcumulados\"]}, {\"calculate\": \"if((datum.key === 'testesAcumulados'),'Testes acumulados',datum.key)\", \"as\": \"key\"}, {\"calculate\": \"if((datum.key === 'confirmadosAcumulados'),'Confirmados acumulados',datum.key)\", \"as\": \"key\"}, {\"calculate\": \"datum.mortesAcumuladas / datum.confirmadosAcumulados\", \"as\": \"taxa_letalidade\"}]}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"width\": \"container\", \"config\": {\"background\": \"transparent\", \"view\": {\"continuousWidth\": 400, \"continuousHeight\": 300}}, \"data\": {\"url\": \"https://raw.githubusercontent.com/covid19pb/covid19pb.github.io/master/data/paraiba/dados_pb_covid19_casosPorData.csv\"}, \"layer\": [{\"mark\": {\"type\": \"bar\", \"opacity\": 0.8, \"point\": {\"filled\": false, \"fill\": \"white\"}, \"strokeWidth\": 2.5}, \"encoding\": {\"color\": {\"type\": \"nominal\", \"field\": \"key\", \"legend\": {\"columns\": 1, \"labelFontSize\": 12, \"orient\": \"bottom\", \"title\": \"Testes de covid-19\", \"titleFontSize\": 14}, \"scale\": {\"domain\": [\"Testes por dia\"], \"range\": [\"#1f77b4\"]}}, \"tooltip\": [{\"type\": \"temporal\", \"field\": \"data\", \"title\": \"Data\"}, {\"type\": \"quantitative\", \"field\": \"testesPorDia\", \"title\": \"Testes por dia\"}, {\"type\": \"quantitative\", \"field\": \"testesAcumulados\", \"title\": \"Testes acumulados\"}, {\"type\": \"quantitative\", \"field\": \"taxa_letalidade\", \"format\": \".2%\", \"title\": \"Taxa de letalidade\"}], \"x\": {\"type\": \"temporal\", \"axis\": {\"labelAngle\": 315, \"labelFontSize\": 12, \"title\": \"Data\", \"titleFontSize\": 14}, \"field\": \"data\", \"timeUnit\": \"monthdate\"}, \"y\": {\"type\": \"quantitative\", \"axis\": {\"labelFontSize\": 12, \"title\": \"N\\u00famero de Testes de covid-19\", \"titleFontSize\": 14}, \"field\": \"value\"}}}, {\"mark\": \"line\", \"encoding\": {\"y\": {\"field\": \"media_movel\", \"type\": \"quantitative\"}, \"x\": {\"type\": \"temporal\", \"field\": \"data\", \"timeUnit\": \"monthdate\"}, \"color\": {\"value\": \"red\"}, \"size\": {\"value\": 3}, \"tooltip\": [{\"field\": \"media_movel\", \"type\": \"quantitative\", \"format\": \".2f\", \"title\": \"M\\u00e9dia m\\u00f3vel de testes de covid-19\"}]}}], \"transform\": [{\"fold\": [\"testesPorDia\"]}, {\"calculate\": \"if((datum.key === 'testesPorDia'),'Testes por dia',datum.key)\", \"as\": \"key\"}, {\"calculate\": \"if((datum.key === 'confirmadosAcumulados'),'Confirmados acumulados',datum.key)\", \"as\": \"key\"}, {\"calculate\": \"if((datum.key === 'mortesAcumuladas'),'Mortes acumuladas',datum.key)\", \"as\": \"key\"}, {\"calculate\": \"datum.mortesAcumuladas / datum.confirmadosAcumulados\", \"as\": \"taxa_letalidade\"}, {\"window\": [{\"field\": \"testesPorDia\", \"op\": \"mean\", \"as\": \"media_movel\"}]}]}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"data\": {\"url\": \"https://raw.githubusercontent.com/covid19pb/covid19pb.github.io/master/data/paraiba/dados_pb_covid19_boletim_FaixaEtaria.csv\"}, \"width\": \"container\", \"config\": {\"background\": \"transparent\", \"view\": {\"continuousWidth\": 400, \"continuousHeight\": 300}}, \"layer\": [{\"mark\": \"bar\", \"encoding\": {\"color\": {\"type\": \"nominal\", \"field\": \"key\", \"legend\": {\"labelFontSize\": 16, \"orient\": \"top\", \"title\": \"Selecione a op\\u00e7\\u00e3o\", \"titleFontSize\": 16}, \"scale\": {\"domain\": [\"Total\", \"Masculino\", \"Feminino\"], \"range\": [\"#003366\", \"#1f77b4\", \"#dc56b4\"]}}, \"opacity\": {\"condition\": {\"value\": 1, \"selection\": \"selector112\"}, \"value\": 0}, \"tooltip\": [{\"type\": \"temporal\", \"field\": \"data\", \"title\": \"Data\"}, {\"type\": \"quantitative\", \"field\": \"total\", \"title\": \"Total\"}, {\"type\": \"quantitative\", \"field\": \"feminino\", \"title\": \"Feminino\"}, {\"type\": \"quantitative\", \"field\": \"masculino\", \"title\": \"Masculino\"}], \"x\": {\"type\": \"nominal\", \"axis\": {\"labelAngle\": 315, \"labelFontSize\": 12, \"title\": \"Faixa Et\\u00e1ria\", \"titleFontSize\": 14}, \"field\": \"faixa_etaria\"}, \"y\": {\"type\": \"quantitative\", \"axis\": {\"labelFontSize\": 12, \"title\": \"N\\u00famero de Casos\", \"titleFontSize\": 14}, \"field\": \"value\", \"scale\": {\"zero\": true}}}, \"selection\": {\"selector112\": {\"type\": \"single\", \"fields\": [\"key\"], \"bind\": \"legend\", \"init\": {\"key\": \"Total\"}}}, \"transform\": [{\"filter\": \"((datum.classificacao === 'confirmados') && (datum.ultima_atualizacao === 'True'))\"}, {\"fold\": [\"total\", \"masculino\", \"feminino\"]}, {\"calculate\": \"if((datum.key === 'masculino'),'Masculino',datum.key)\", \"as\": \"key\"}, {\"calculate\": \"if((datum.key === 'feminino'),'Feminino',datum.key)\", \"as\": \"key\"}, {\"calculate\": \"if((datum.key === 'total'),'Total',datum.key)\", \"as\": \"key\"}, {\"filter\": \"(datum.key === 'Total')\"}]}, {\"mark\": \"bar\", \"encoding\": {\"color\": {\"type\": \"nominal\", \"field\": \"key\", \"legend\": {\"labelFontSize\": 12, \"orient\": \"top\", \"title\": \"Selecione a op\\u00e7\\u00e3o\", \"titleFontSize\": 14}, \"scale\": {\"domain\": [\"Total\", \"Masculino\", \"Feminino\"], \"range\": [\"#003366\", \"#1f77b4\", \"#dc56b4\"]}}, \"opacity\": {\"condition\": {\"value\": 1, \"selection\": \"selector112\"}, \"value\": 0.01}, \"x\": {\"type\": \"nominal\", \"axis\": {\"labelAngle\": 315, \"labelFontSize\": 12, \"title\": \"Faixa Et\\u00e1ria\", \"titleFontSize\": 14}, \"field\": \"faixa_etaria\"}, \"y\": {\"type\": \"quantitative\", \"axis\": {\"labelFontSize\": 12, \"title\": \"N\\u00famero de Casos\", \"titleFontSize\": 14}, \"field\": \"value\", \"scale\": {\"zero\": true}}}, \"transform\": [{\"filter\": \"((datum.classificacao === 'confirmados') && (datum.ultima_atualizacao === 'True'))\"}, {\"fold\": [\"total\", \"masculino\", \"feminino\"]}, {\"calculate\": \"if((datum.key === 'masculino'),'Masculino',datum.key)\", \"as\": \"key\"}, {\"calculate\": \"if((datum.key === 'feminino'),'Feminino',datum.key)\", \"as\": \"key\"}, {\"calculate\": \"if((datum.key === 'total'),'Total',datum.key)\", \"as\": \"key\"}, {\"filter\": \"(datum.key === 'Masculino')\"}]}, {\"mark\": \"bar\", \"encoding\": {\"color\": {\"type\": \"nominal\", \"field\": \"key\", \"legend\": {\"labelFontSize\": 12, \"orient\": \"top\", \"title\": \"Selecione a op\\u00e7\\u00e3o\", \"titleFontSize\": 14}, \"scale\": {\"domain\": [\"Total\", \"Masculino\", \"Feminino\"], \"range\": [\"#003366\", \"#1f77b4\", \"#dc56b4\"]}}, \"opacity\": {\"condition\": {\"value\": 1, \"selection\": \"selector112\"}, \"value\": 0.01}, \"x\": {\"type\": \"nominal\", \"axis\": {\"labelAngle\": 315, \"labelFontSize\": 12, \"title\": \"Faixa Et\\u00e1ria\", \"titleFontSize\": 14}, \"field\": \"faixa_etaria\"}, \"y\": {\"type\": \"quantitative\", \"axis\": {\"labelFontSize\": 12, \"title\": \"N\\u00famero de Casos\", \"titleFontSize\": 14}, \"field\": \"value\", \"scale\": {\"zero\": true}}}, \"transform\": [{\"filter\": \"((datum.classificacao === 'confirmados') && (datum.ultima_atualizacao === 'True'))\"}, {\"fold\": [\"total\", \"masculino\", \"feminino\"]}, {\"calculate\": \"if((datum.key === 'masculino'),'Masculino',datum.key)\", \"as\": \"key\"}, {\"calculate\": \"if((datum.key === 'feminino'),'Feminino',datum.key)\", \"as\": \"key\"}, {\"calculate\": \"if((datum.key === 'total'),'Total',datum.key)\", \"as\": \"key\"}, {\"filter\": \"(datum.key === 'Feminino')\"}]}]}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"data\": {\"url\": \"https://raw.githubusercontent.com/covid19pb/covid19pb.github.io/master/data/paraiba/dados_pb_covid19_boletim_FaixaEtaria.csv\"}, \"width\": \"container\", \"config\": {\"background\": \"transparent\", \"view\": {\"continuousWidth\": 400, \"continuousHeight\": 300}}, \"layer\": [{\"mark\": \"bar\", \"encoding\": {\"color\": {\"type\": \"nominal\", \"field\": \"key\", \"legend\": {\"labelFontSize\": 16, \"orient\": \"top\", \"title\": \"Selecione a op\\u00e7\\u00e3o\", \"titleFontSize\": 16}, \"scale\": {\"domain\": [\"Total\", \"Masculino\", \"Feminino\"], \"range\": [\"#e60000\", \"#1f77b4\", \"#dc56b4\"]}}, \"opacity\": {\"condition\": {\"value\": 1, \"selection\": \"selector112\"}, \"value\": 0}, \"tooltip\": [{\"type\": \"temporal\", \"field\": \"data\", \"title\": \"Data\"}, {\"type\": \"quantitative\", \"field\": \"total\", \"title\": \"Total\"}, {\"type\": \"quantitative\", \"field\": \"feminino\", \"title\": \"Feminino\"}, {\"type\": \"quantitative\", \"field\": \"masculino\", \"title\": \"Masculino\"}], \"x\": {\"type\": \"nominal\", \"axis\": {\"labelAngle\": 315, \"labelFontSize\": 12, \"title\": \"Faixa Et\\u00e1ria\", \"titleFontSize\": 14}, \"field\": \"faixa_etaria\"}, \"y\": {\"type\": \"quantitative\", \"axis\": {\"labelFontSize\": 12, \"title\": \"N\\u00famero de Casos\", \"titleFontSize\": 14}, \"field\": \"value\", \"scale\": {\"zero\": true}}}, \"selection\": {\"selector112\": {\"type\": \"single\", \"fields\": [\"key\"], \"bind\": \"legend\", \"init\": {\"key\": \"Total\"}}}, \"transform\": [{\"filter\": \"((datum.classificacao === 'mortos') && (datum.ultima_atualizacao === 'True'))\"}, {\"fold\": [\"total\", \"masculino\", \"feminino\"]}, {\"calculate\": \"if((datum.key === 'masculino'),'Masculino',datum.key)\", \"as\": \"key\"}, {\"calculate\": \"if((datum.key === 'feminino'),'Feminino',datum.key)\", \"as\": \"key\"}, {\"calculate\": \"if((datum.key === 'total'),'Total',datum.key)\", \"as\": \"key\"}, {\"filter\": \"(datum.key === 'Total')\"}]}, {\"mark\": \"bar\", \"encoding\": {\"color\": {\"type\": \"nominal\", \"field\": \"key\", \"legend\": {\"labelFontSize\": 12, \"orient\": \"top\", \"title\": \"Selecione a op\\u00e7\\u00e3o\", \"titleFontSize\": 14}, \"scale\": {\"domain\": [\"Total\", \"Masculino\", \"Feminino\"], \"range\": [\"#e60000\", \"#1f77b4\", \"#dc56b4\"]}}, \"opacity\": {\"condition\": {\"value\": 1, \"selection\": \"selector112\"}, \"value\": 0.01}, \"x\": {\"type\": \"nominal\", \"axis\": {\"labelAngle\": 315, \"labelFontSize\": 12, \"title\": \"Faixa Et\\u00e1ria\", \"titleFontSize\": 14}, \"field\": \"faixa_etaria\"}, \"y\": {\"type\": \"quantitative\", \"axis\": {\"labelFontSize\": 12, \"title\": \"N\\u00famero de Casos\", \"titleFontSize\": 14}, \"field\": \"value\", \"scale\": {\"zero\": true}}}, \"transform\": [{\"filter\": \"((datum.classificacao === 'mortos') && (datum.ultima_atualizacao === 'True'))\"}, {\"fold\": [\"total\", \"masculino\", \"feminino\"]}, {\"calculate\": \"if((datum.key === 'masculino'),'Masculino',datum.key)\", \"as\": \"key\"}, {\"calculate\": \"if((datum.key === 'feminino'),'Feminino',datum.key)\", \"as\": \"key\"}, {\"calculate\": \"if((datum.key === 'total'),'Total',datum.key)\", \"as\": \"key\"}, {\"filter\": \"(datum.key === 'Masculino')\"}]}, {\"mark\": \"bar\", \"encoding\": {\"color\": {\"type\": \"nominal\", \"field\": \"key\", \"legend\": {\"labelFontSize\": 12, \"orient\": \"top\", \"title\": \"Selecione a op\\u00e7\\u00e3o\", \"titleFontSize\": 14}, \"scale\": {\"domain\": [\"Total\", \"Masculino\", \"Feminino\"], \"range\": [\"#e60000\", \"#1f77b4\", \"#dc56b4\"]}}, \"opacity\": {\"condition\": {\"value\": 1, \"selection\": \"selector112\"}, \"value\": 0.01}, \"x\": {\"type\": \"nominal\", \"axis\": {\"labelAngle\": 315, \"labelFontSize\": 12, \"title\": \"Faixa Et\\u00e1ria\", \"titleFontSize\": 14}, \"field\": \"faixa_etaria\"}, \"y\": {\"type\": \"quantitative\", \"axis\": {\"labelFontSize\": 12, \"title\": \"N\\u00famero de Casos\", \"titleFontSize\": 14}, \"field\": \"value\", \"scale\": {\"zero\": true}}}, \"transform\": [{\"filter\": \"((datum.classificacao === 'mortos') && (datum.ultima_atualizacao === 'True'))\"}, {\"fold\": [\"total\", \"masculino\", \"feminino\"]}, {\"calculate\": \"if((datum.key === 'masculino'),'Masculino',datum.key)\", \"as\": \"key\"}, {\"calculate\": \"if((datum.key === 'feminino'),'Feminino',datum.key)\", \"as\": \"key\"}, {\"calculate\": \"if((datum.key === 'total'),'Total',datum.key)\", \"as\": \"key\"}, {\"filter\": \"(datum.key === 'Feminino')\"}]}]}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"data\": {\"url\": \"https://raw.githubusercontent.com/covid19pb/covid19pb.github.io/master/data/paraiba/dados_pb_covid19_pacientes_mortes.csv\"}, \"width\": \"container\", \"height\": \"300\", \"config\": {\"background\": \"transparent\", \"view\": {\"continuousWidth\": 400, \"continuousHeight\": 300}}, \"transform\": [{\"calculate\": \"if((datum.localDoObito === ''),'N\\u00e3o Identificado',datum.key)\", \"as\": \"key\"}, {\"calculate\": \"if((datum.localDoObito === 'SAMU'),'SAMU',datum.key)\", \"as\": \"key\"}, {\"calculate\": \"if((datum.localDoObito === 'UPA'),'UPA',datum.key)\", \"as\": \"key\"}, {\"calculate\": \"if((datum.localDoObito === 'hospital privado'),'Hospital Privado',datum.key)\", \"as\": \"key\"}, {\"calculate\": \"if((datum.localDoObito === 'hospital p\\u00fablico'),'Hospital P\\u00fablico',datum.key)\", \"as\": \"key\"}, {\"calculate\": \"if((datum.localDoObito === 'maternidade p\\u00fablica'),'Maternidade P\\u00fablica',datum.key)\", \"as\": \"key\"}, {\"calculate\": \"if((datum.localDoObito === 'resid\\u00eancia'),'Resid\\u00eancia',datum.key)\", \"as\": \"key\"}], \"encoding\": {\"y\": {\"axis\": {\"title\": \"Quantidade de \\u00f3bitos\", \"labelFontSize\": 12, \"titleFontSize\": 12}, \"field\": \"key\", \"type\": \"quantitative\", \"aggregate\": \"count\"}, \"x\": {\"axis\": {\"labelAngle\": 315, \"labelFontSize\": 12, \"titleFontSize\": 12, \"title\": null}, \"field\": \"key\", \"type\": \"nominal\", \"sort\": \"-y\"}}, \"layer\": [{\"mark\": {\"type\": \"bar\", \"cornerRadiusEnd\": 4, \"size\": 30}, \"encoding\": {\"color\": {\"legend\": null, \"field\": \"key\", \"type\": \"nominal\", \"scale\": {\"domain\": [\"SAMU\", \"N\\u00e3o Identificado\", \"UPA\", \"Hospital Privado\", \"Hospital P\\u00fablico\", \"Maternidade P\\u00fablica\", \"Resid\\u00eancia\"], \"range\": [\"#FE0312\", \"#FFBD00\", \"#FF5400\", \"#FF0054\", \"#9E0059\", \"#390099\", \"#000000\"]}}, \"opacity\": {\"value\": 0.7}}}, {\"mark\": {\"type\": \"text\", \"baseline\": \"middle\", \"stroke\": \"black\", \"dy\": -10, \"fontSize\": 15}, \"encoding\": {\"text\": {\"field\": \"key\", \"type\": \"quantitative\", \"aggregate\": \"count\"}}}]}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"title\": \"Casos confirmados de Covid-19 por microrregi\\u00f5es\", \"width\": \"container\", \"config\": {\"background\": \"transparent\", \"view\": {\"continuousWidth\": 400, \"continuousHeight\": 300}}, \"data\": {\"url\": \"https://raw.githubusercontent.com/covid19pb/covid19pb.github.io/master/data/paraiba/mapa_micro_paraiba.json\", \"format\": {\"type\": \"topojson\", \"feature\": \"microrregioes\"}}, \"transform\": [{\"lookup\": \"properties.micro\", \"from\": {\"data\": {\"url\": \"https://raw.githubusercontent.com/covid19pb/covid19pb.github.io/master/data/paraiba/dados_pb_covid19_casosPorMicro.csv\"}, \"key\": \"microrregiao\", \"fields\": [\"data\", \"mesorregiao\", \"microrregiao\", \"confirmadosAcumulados\", \"mortesAcumuladas\"]}}], \"mark\": {\"type\": \"geoshape\", \"stroke\": \"white\"}, \"encoding\": {\"color\": {\"field\": \"confirmadosAcumulados\", \"type\": \"quantitative\", \"title\": \"Confirmados acumulados\", \"scale\": {\"type\": \"threshold\", \"domain\": [1, 1000, 2000, 3000, 4000, 5000], \"range\": [\"#F0F0F0\", \"#FFBD00\", \"#FF5400\", \"#FF0054\", \"#9E0059\", \"#390099\", \"#000000\"]}, \"legend\": {\"direction\": \"horizontal\", \"orient\": \"bottom\"}}, \"tooltip\": [{\"field\": \"properties.micro\", \"type\": \"nominal\", \"title\": \"Microrregi\\u00e3o: \"}, {\"field\": \"properties.meso\", \"type\": \"nominal\", \"title\": \"Mesorregi\\u00e3o: \"}, {\"field\": \"confirmadosAcumulados\", \"type\": \"quantitative\", \"title\": \"Confirmados acumulados: \"}, {\"field\": \"mortesAcumuladas\", \"type\": \"quantitative\", \"title\": \"Mortesa acumuladas: \"}]}}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"title\": \"Mortes de Covid-19 por microrregi\\u00f5es\", \"width\": \"container\", \"config\": {\"background\": \"transparent\", \"view\": {\"continuousWidth\": 400, \"continuousHeight\": 300}}, \"data\": {\"url\": \"https://raw.githubusercontent.com/covid19pb/covid19pb.github.io/master/data/paraiba/mapa_micro_paraiba.json\", \"format\": {\"type\": \"topojson\", \"feature\": \"microrregioes\"}}, \"transform\": [{\"lookup\": \"properties.micro\", \"from\": {\"data\": {\"url\": \"https://raw.githubusercontent.com/covid19pb/covid19pb.github.io/master/data/paraiba/dados_pb_covid19_casosPorMicro.csv\"}, \"key\": \"microrregiao\", \"fields\": [\"data\", \"mesorregiao\", \"microrregiao\", \"confirmadosAcumulados\", \"mortesAcumuladas\"]}}], \"mark\": {\"type\": \"geoshape\", \"stroke\": \"white\"}, \"encoding\": {\"color\": {\"field\": \"mortesAcumuladas\", \"type\": \"quantitative\", \"title\": \"Mortes acumuladas\", \"scale\": {\"type\": \"threshold\", \"domain\": [1, 10, 25, 50, 75, 100], \"range\": [\"#F0F0F0\", \"#FFBD00\", \"#FF5400\", \"#FF0054\", \"#9E0059\", \"#390099\", \"#000000\"]}, \"legend\": {\"direction\": \"horizontal\", \"orient\": \"bottom\"}}, \"tooltip\": [{\"field\": \"properties.micro\", \"type\": \"nominal\", \"title\": \"Microrregi\\u00e3o: \"}, {\"field\": \"properties.meso\", \"type\": \"nominal\", \"title\": \"Mesorregi\\u00e3o: \"}, {\"field\": \"mortesAcumuladas\", \"type\": \"quantitative\", \"title\": \"Mortes acumuladas: \"}, {\"field\": \"confirmadosAcumulados\", \"type\": \"quantitative\", \"title\": \"Confirmados acumulados: \"}]}}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"transform\": [{\"filter\": \"datum.classificacao === 'mortos'\"}], \"width\": \"container\", \"data\": {\"url\": \"https://raw.githubusercontent.com/covid19pb/covid19pb.github.io/master/data/paraiba/dados_pb_covid19_boletim_FaixaEtaria.csv\"}, \"mark\": \"rect\", \"encoding\": {\"x\": {\"timeUnit\": \"monthdate\", \"field\": \"data\", \"type\": \"ordinal\", \"axis\": {\"labelAngle\": 315, \"labelFontSize\": 12, \"title\": \"Data\", \"titleFontSize\": 14}}, \"y\": {\"field\": \"faixa_etaria\", \"type\": \"nominal\", \"title\": \"faixa et\\u00e1ria\", \"sort\": \"descending\", \"axis\": {\"labelFontSize\": 12, \"title\": \"Faixa Et\\u00e1ria\", \"titleFontSize\": 14}}, \"color\": {\"field\": \"total\", \"type\": \"quantitative\", \"legend\": {\"columns\": 1, \"labelFontSize\": 12, \"orient\": \"bottom\", \"title\": \"\\u00d3bitos\", \"titleFontSize\": 14}, \"scale\": {\"type\": \"threshold\", \"domain\": [1, 10, 30, 50, 70, 100], \"range\": [\"#F0F0F0\", \"#FFBD00\", \"#FF5400\", \"#FF0054\", \"#9E0059\", \"#390099\", \"#000000\"]}}}}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"data\": {\"url\": \"https://raw.githubusercontent.com/covid19pb/covid19pb.github.io/master/data/paraiba/dados_pb_covid19_boletim_FaixaEtaria.csv\"}, \"width\": \"container\", \"config\": {\"background\": \"transparent\", \"view\": {\"continuousWidth\": 400, \"continuousHeight\": 300}}, \"transform\": [{\"filter\": \"((datum.classificacao === 'confirmados') && (datum.ultima_atualizacao === 'True'))\"}, {\"fold\": [\"masculino\", \"feminino\"]}, {\"calculate\": \"if((datum.key === 'masculino'),'Masculino',datum.key)\", \"as\": \"key\"}, {\"calculate\": \"if((datum.key === 'feminino'),'Feminino',datum.key)\", \"as\": \"key\"}], \"layer\": [{\"mark\": {\"type\": \"arc\", \"innerRadius\": 30, \"stroke\": \"#fff\"}}, {\"mark\": {\"type\": \"text\", \"radiusOffset\": 30, \"fontSize\": 20}, \"encoding\": {\"text\": {\"field\": \"value\", \"aggregate\": \"sum\", \"type\": \"quantitative\"}}}], \"encoding\": {\"theta\": {\"field\": \"value\", \"aggregate\": \"sum\", \"type\": \"quantitative\", \"stack\": true}, \"radius\": {\"field\": \"value\", \"aggregate\": \"sum\", \"type\": \"quantitative\", \"scale\": {\"type\": \"sqrt\", \"zero\": true, \"range\": [0, 80]}}, \"color\": {\"field\": \"key\", \"type\": \"nominal\", \"legend\": {\"labelFontSize\": 16, \"orient\": \"top\", \"title\": \"Sexo\", \"titleFontSize\": 14}, \"scale\": {\"domain\": [\"Masculino\", \"Feminino\"], \"range\": [\"#1f77b4\", \"#dc56b4\"]}}}, \"view\": {\"stroke\": null}}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"data\": {\"url\": \"https://raw.githubusercontent.com/covid19pb/covid19pb.github.io/master/data/paraiba/dados_pb_covid19_boletim_FaixaEtaria.csv\"}, \"width\": \"container\", \"config\": {\"background\": \"transparent\", \"view\": {\"continuousWidth\": 400, \"continuousHeight\": 300}}, \"transform\": [{\"filter\": \"((datum.classificacao === 'mortos') && (datum.ultima_atualizacao === 'True'))\"}, {\"fold\": [\"masculino\", \"feminino\"]}, {\"calculate\": \"if((datum.key === 'masculino'),'Masculino',datum.key)\", \"as\": \"key\"}, {\"calculate\": \"if((datum.key === 'feminino'),'Feminino',datum.key)\", \"as\": \"key\"}], \"layer\": [{\"mark\": {\"type\": \"arc\", \"innerRadius\": 40, \"stroke\": \"#fff\"}}, {\"mark\": {\"type\": \"text\", \"radiusOffset\": 25, \"fontSize\": 30}, \"encoding\": {\"text\": {\"field\": \"value\", \"aggregate\": \"sum\", \"type\": \"quantitative\"}}}], \"encoding\": {\"theta\": {\"field\": \"value\", \"aggregate\": \"sum\", \"type\": \"quantitative\", \"stack\": true}, \"radius\": {\"field\": \"value\", \"aggregate\": \"sum\", \"type\": \"quantitative\", \"scale\": {\"type\": \"sqrt\", \"zero\": true, \"range\": [20, 100]}}, \"color\": {\"field\": \"key\", \"type\": \"nominal\", \"legend\": {\"labelFontSize\": 16, \"orient\": \"top\", \"title\": \"Sexo\", \"titleFontSize\": 14}, \"scale\": {\"domain\": [\"Masculino\", \"Feminino\"], \"range\": [\"#1f77b4\", \"#dc56b4\"]}}}, \"view\": {\"stroke\": null}}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"width\": \"container\", \"config\": {\"background\": \"transparent\", \"view\": {\"continuousWidth\": 400, \"continuousHeight\": 300}}, \"data\": {\"url\": \"https://raw.githubusercontent.com/covid19pb/covid19pb.github.io/b81a2ebf15d37c2dfe5aa48dab561b928b0763a9/data/paraiba/dados_pb_covid19_casosPorData.csv\"}, \"mark\": {\"type\": \"line\", \"opacity\": 0.8, \"point\": {\"filled\": false, \"fill\": \"white\"}, \"strokeWidth\": 2.5}, \"encoding\": {\"color\": {\"type\": \"nominal\", \"field\": \"key\", \"legend\": {\"columns\": 1, \"labelFontSize\": 12, \"orient\": \"bottom\", \"title\": \"Tipos de Casos\", \"titleFontSize\": 14}, \"scale\": {\"domain\": [\"Confirmados acumulados\", \"Confirmados por dia\", \"Mortes acumuladas\"], \"range\": [\"#ff8533\", \"#1f77b4\", \"#e60000\"]}}, \"tooltip\": [{\"type\": \"temporal\", \"field\": \"data\", \"title\": \"Data\"}, {\"type\": \"quantitative\", \"field\": \"confirmadosAcumulados\", \"title\": \"Confirmados acumulados\"}, {\"type\": \"quantitative\", \"field\": \"mortesAcumuladas\", \"title\": \"Mortes acumuladas\"}, {\"type\": \"quantitative\", \"field\": \"taxa_letalidade\", \"format\": \".2%\", \"title\": \"Taxa de letalidade\"}, {\"type\": \"quantitative\", \"field\": \"confirmadosPorDia\", \"title\": \"Confirmados por dia\"}], \"x\": {\"type\": \"temporal\", \"axis\": {\"labelAngle\": 315, \"labelFontSize\": 12, \"title\": \"Data\", \"titleFontSize\": 14}, \"field\": \"data\", \"timeUnit\": \"monthdate\"}, \"y\": {\"type\": \"quantitative\", \"axis\": {\"labelFontSize\": 12, \"title\": \"N\\u00famero de Casos\", \"titleFontSize\": 14}, \"field\": \"value\"}}, \"transform\": [{\"fold\": [\"confirmadosPorDia\", \"confirmadosAcumulados\", \"mortesAcumuladas\"]}, {\"calculate\": \"if((datum.key === 'confirmadosPorDia'),'Confirmados por dia',datum.key)\", \"as\": \"key\"}, {\"calculate\": \"if((datum.key === 'confirmadosAcumulados'),'Confirmados acumulados',datum.key)\", \"as\": \"key\"}, {\"calculate\": \"if((datum.key === 'mortesAcumuladas'),'Mortes acumuladas',datum.key)\", \"as\": \"key\"}, {\"calculate\": \"datum.mortesAcumuladas / datum.confirmadosAcumulados\", \"as\": \"taxa_letalidade\"}]}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"title\": \"Casos confirmados por Faixa Et\\u00e1ria/Sexo\", \"config\": {\"background\": \"transparent\", \"view\": {\"continuousWidth\": 400, \"continuousHeight\": 300}, \"title\": {\"anchor\": \"middle\", \"fontSize\": 14, \"offset\": 5, \"orient\": \"top\"}}, \"data\": {\"url\": \"https://raw.githubusercontent.com/covid19pb/covid19pb.github.io/b81a2ebf15d37c2dfe5aa48dab561b928b0763a9/data/paraiba/dados_pb_covid19_boletim_FaixaEtaria.csv\"}, \"facet\": {\"row\": {\"type\": \"nominal\", \"field\": \"key\", \"header\": {\"labels\": false, \"title\": \"\"}, \"sort\": {\"field\": \"key:N\"}}}, \"spec\": {\"mark\": \"bar\", \"encoding\": {\"color\": {\"type\": \"nominal\", \"field\": \"key\", \"legend\": {\"labelFontSize\": 12, \"orient\": \"bottom\", \"title\": \"Sexo\", \"titleFontSize\": 14}, \"scale\": {\"domain\": [\"Masculino\", \"Feminino\"], \"range\": [\"#1f77b4\", \"#dc56b4\"]}}, \"tooltip\": [{\"type\": \"temporal\", \"field\": \"data\", \"title\": \"Data\"}, {\"type\": \"nominal\", \"field\": \"key\", \"title\": \"Sexo\"}, {\"type\": \"quantitative\", \"field\": \"value\", \"title\": \"Quantidade\"}], \"x\": {\"type\": \"nominal\", \"axis\": {\"labelAngle\": 315, \"labelFontSize\": 12, \"title\": \"Faixa Et\\u00e1ria\", \"titleFontSize\": 14}, \"field\": \"faixa_etaria\"}, \"y\": {\"type\": \"quantitative\", \"axis\": {\"labelFontSize\": 12, \"title\": \"N\\u00famero de Casos\", \"titleFontSize\": 14}, \"field\": \"value\", \"scale\": {\"zero\": true}}}, \"width\": \"container\", \"transform\": [{\"filter\": \"((datum.classificacao === 'confirmados') && (datum.ultima_atualizacao === 'True'))\"}, {\"fold\": [\"masculino\", \"feminino\"]}, {\"calculate\": \"if((datum.key === 'masculino'),'Masculino',datum.key)\", \"as\": \"key\"}, {\"calculate\": \"if((datum.key === 'feminino'),'Feminino',datum.key)\", \"as\": \"key\"}]}}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"title\": \"Mortes por Faixa Et\\u00e1ria/Sexo\", \"config\": {\"background\": \"transparent\", \"view\": {\"continuousWidth\": 400, \"continuousHeight\": 300}, \"title\": {\"anchor\": \"middle\", \"fontSize\": 14, \"offset\": 5, \"orient\": \"top\"}}, \"data\": {\"url\": \"https://raw.githubusercontent.com/covid19pb/covid19pb.github.io/b81a2ebf15d37c2dfe5aa48dab561b928b0763a9/data/paraiba/dados_pb_covid19_boletim_FaixaEtaria.csv\"}, \"facet\": {\"row\": {\"type\": \"nominal\", \"field\": \"key\", \"header\": {\"labels\": false, \"title\": \"\"}, \"sort\": {\"field\": \"key:N\"}}}, \"spec\": {\"mark\": \"bar\", \"encoding\": {\"color\": {\"type\": \"nominal\", \"field\": \"key\", \"legend\": {\"labelFontSize\": 12, \"orient\": \"bottom\", \"title\": \"Sexo\", \"titleFontSize\": 14}, \"scale\": {\"domain\": [\"Masculino\", \"Feminino\"], \"range\": [\"#1f77b4\", \"#dc56b4\"]}}, \"tooltip\": [{\"type\": \"temporal\", \"field\": \"data\", \"title\": \"Data\"}, {\"type\": \"nominal\", \"field\": \"key\", \"title\": \"Sexo\"}, {\"type\": \"quantitative\", \"field\": \"value\", \"title\": \"Quantidade\"}], \"x\": {\"type\": \"nominal\", \"axis\": {\"labelAngle\": 315, \"labelFontSize\": 12, \"title\": \"Faixa Et\\u00e1ria\", \"titleFontSize\": 14}, \"field\": \"faixa_etaria\"}, \"y\": {\"type\": \"quantitative\", \"axis\": {\"labelFontSize\": 12, \"title\": \"N\\u00famero de Casos\", \"titleFontSize\": 14}, \"field\": \"value\", \"scale\": {\"zero\": true}}}, \"width\": \"container\", \"transform\": [{\"filter\": \"((datum.classificacao === 'mortos') && (datum.ultima_atualizacao === 'True'))\"}, {\"fold\": [\"masculino\", \"feminino\"]}, {\"calculate\": \"if((datum.key === 'masculino'),'Masculino',datum.key)\", \"as\": \"key\"}, {\"calculate\": \"if((datum.key === 'feminino'),'Feminino',datum.key)\", \"as\": \"key\"}]}}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"width\": \"container\", \"title\": \"Confirmados por Faixa Et\\u00e1ria\", \"data\": {\"url\": \"https://raw.githubusercontent.com/covid19pb/covid19pb.github.io/b81a2ebf15d37c2dfe5aa48dab561b928b0763a9/data/paraiba/dados_pb_covid19_boletim_FaixaEtaria.csv\"}, \"transform\": [{\"filter\": {\"field\": \"classificacao\", \"equal\": \"confirmados\"}}], \"config\": {\"background\": \"transparent\", \"view\": {\"continuousWidth\": 400, \"continuousHeight\": 300}, \"title\": {\"anchor\": \"middle\", \"fontSize\": 14, \"offset\": 5, \"orient\": \"top\"}}, \"mark\": \"bar\", \"encoding\": {\"color\": {\"value\": \"#003366\"}, \"tooltip\": [{\"type\": \"temporal\", \"field\": \"data\", \"title\": \"Data\"}, {\"type\": \"quantitative\", \"field\": \"total\", \"title\": \"Quantidade\"}], \"x\": {\"type\": \"nominal\", \"axis\": {\"labelAngle\": 315, \"labelFontSize\": 12, \"title\": \"Faixa Et\\u00e1ria\", \"titleFontSize\": 14}, \"field\": \"faixa_etaria\"}, \"y\": {\"type\": \"quantitative\", \"axis\": {\"labelFontSize\": 12, \"title\": \"N\\u00famero de Casos\", \"titleFontSize\": 14}, \"field\": \"total\", \"scale\": {\"zero\": true}}}}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"width\": \"container\", \"title\": \"Mortes por Faixa Et\\u00e1ria\", \"data\": {\"url\": \"https://raw.githubusercontent.com/covid19pb/covid19pb.github.io/b81a2ebf15d37c2dfe5aa48dab561b928b0763a9/data/paraiba/dados_pb_covid19_boletim_FaixaEtaria.csv\"}, \"transform\": [{\"filter\": {\"field\": \"classificacao\", \"equal\": \"mortos\"}}], \"config\": {\"background\": \"transparent\", \"view\": {\"continuousWidth\": 400, \"continuousHeight\": 300}, \"title\": {\"anchor\": \"middle\", \"fontSize\": 14, \"offset\": 5, \"orient\": \"top\"}}, \"mark\": \"bar\", \"encoding\": {\"color\": {\"value\": \"#e60000\"}, \"tooltip\": [{\"type\": \"temporal\", \"field\": \"data\", \"title\": \"Data\"}, {\"type\": \"quantitative\", \"field\": \"total\", \"title\": \"Quantidade\"}], \"x\": {\"type\": \"nominal\", \"axis\": {\"labelAngle\": 315, \"labelFontSize\": 12, \"title\": \"Faixa Et\\u00e1ria\", \"titleFontSize\": 14}, \"field\": \"faixa_etaria\"}, \"y\": {\"type\": \"quantitative\", \"axis\": {\"labelFontSize\": 12, \"title\": \"N\\u00famero de Casos\", \"titleFontSize\": 14}, \"field\": \"total\", \"scale\": {\"zero\": true}}}}"
"{\"config\": {\"view\": {\"continuousWidth\": 400, \"continuousHeight\": 300}}, \"data\": {\"name\": \"data-1dade804818bb4a87ac30f362092e342\"}, \"mark\": \"line\", \"encoding\": {\"x\": {\"field\": \"x\", \"type\": \"quantitative\"}, \"y\": {\"field\": \"f(x)\", \"type\": \"quantitative\"}}, \"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"datasets\": {\"data-1dade804818bb4a87ac30f362092e342\": [{\"x\": 0, \"f(x)\": 0}, {\"x\": 1, \"f(x)\": 0.19866933079506122}, {\"x\": 2, \"f(x)\": 0.3894183423086505}, {\"x\": 3, \"f(x)\": 0.5646424733950354}, {\"x\": 4, \"f(x)\": 0.7173560908995228}, {\"x\": 5, \"f(x)\": 0.8414709848078965}, {\"x\": 6, \"f(x)\": 0.9320390859672263}, {\"x\": 7, \"f(x)\": 0.9854497299884601}, {\"x\": 8, \"f(x)\": 0.9995736030415051}, {\"x\": 9, \"f(x)\": 0.9738476308781951}, {\"x\": 10, \"f(x)\": 0.9092974268256817}, {\"x\": 11, \"f(x)\": 0.8084964038195901}, {\"x\": 12, \"f(x)\": 0.675463180551151}, {\"x\": 13, \"f(x)\": 0.5155013718214642}, {\"x\": 14, \"f(x)\": 0.33498815015590505}, {\"x\": 15, \"f(x)\": 0.1411200080598672}, {\"x\": 16, \"f(x)\": -0.058374143427580086}, {\"x\": 17, \"f(x)\": -0.2555411020268312}, {\"x\": 18, \"f(x)\": -0.44252044329485246}, {\"x\": 19, \"f(x)\": -0.6118578909427189}, {\"x\": 20, \"f(x)\": -0.7568024953079282}, {\"x\": 21, \"f(x)\": -0.8715757724135881}, {\"x\": 22, \"f(x)\": -0.9516020738895161}, {\"x\": 23, \"f(x)\": -0.9936910036334644}, {\"x\": 24, \"f(x)\": -0.9961646088358407}, {\"x\": 25, \"f(x)\": -0.9589242746631385}, {\"x\": 26, \"f(x)\": -0.8834546557201531}, {\"x\": 27, \"f(x)\": -0.7727644875559871}, {\"x\": 28, \"f(x)\": -0.6312666378723216}, {\"x\": 29, \"f(x)\": -0.46460217941375737}, {\"x\": 30, \"f(x)\": -0.27941549819892586}, {\"x\": 31, \"f(x)\": -0.08308940281749641}, {\"x\": 32, \"f(x)\": 0.11654920485049364}, {\"x\": 33, \"f(x)\": 0.31154136351337786}, {\"x\": 34, \"f(x)\": 0.4941133511386082}, {\"x\": 35, \"f(x)\": 0.6569865987187891}, {\"x\": 36, \"f(x)\": 0.7936678638491531}, {\"x\": 37, \"f(x)\": 0.8987080958116269}, {\"x\": 38, \"f(x)\": 0.9679196720314863}, {\"x\": 39, \"f(x)\": 0.998543345374605}, {\"x\": 40, \"f(x)\": 0.9893582466233818}, {\"x\": 41, \"f(x)\": 0.9407305566797731}, {\"x\": 42, \"f(x)\": 0.8545989080882805}, {\"x\": 43, \"f(x)\": 0.7343970978741134}, {\"x\": 44, \"f(x)\": 0.5849171928917617}, {\"x\": 45, \"f(x)\": 0.4121184852417566}, {\"x\": 46, \"f(x)\": 0.22288991410024764}, {\"x\": 47, \"f(x)\": 0.024775425453357765}, {\"x\": 48, \"f(x)\": -0.17432678122297965}, {\"x\": 49, \"f(x)\": -0.3664791292519284}, {\"x\": 50, \"f(x)\": -0.5440211108893699}, {\"x\": 51, \"f(x)\": -0.6998746875935424}, {\"x\": 52, \"f(x)\": -0.8278264690856536}, {\"x\": 53, \"f(x)\": -0.9227754216128066}, {\"x\": 54, \"f(x)\": -0.9809362300664916}, {\"x\": 55, \"f(x)\": -0.9999902065507035}, {\"x\": 56, \"f(x)\": -0.9791777291513174}, {\"x\": 57, \"f(x)\": -0.9193285256646757}, {\"x\": 58, \"f(x)\": -0.8228285949687089}, {\"x\": 59, \"f(x)\": -0.6935250847771224}, {\"x\": 60, \"f(x)\": -0.5365729180004349}, {\"x\": 61, \"f(x)\": -0.3582292822368287}, {\"x\": 62, \"f(x)\": -0.1656041754483094}, {\"x\": 63, \"f(x)\": 0.03362304722113669}, {\"x\": 64, \"f(x)\": 0.23150982510153895}, {\"x\": 65, \"f(x)\": 0.4201670368266409}, {\"x\": 66, \"f(x)\": 0.592073514707223}, {\"x\": 67, \"f(x)\": 0.7403758899524486}, {\"x\": 68, \"f(x)\": 0.8591618148564959}, {\"x\": 69, \"f(x)\": 0.9436956694441048}, {\"x\": 70, \"f(x)\": 0.9906073556948704}, {\"x\": 71, \"f(x)\": 0.9980266527163617}, {\"x\": 72, \"f(x)\": 0.9656577765492775}, {\"x\": 73, \"f(x)\": 0.8947911721405042}, {\"x\": 74, \"f(x)\": 0.7882520673753163}, {\"x\": 75, \"f(x)\": 0.6502878401571169}, {\"x\": 76, \"f(x)\": 0.4863986888537997}, {\"x\": 77, \"f(x)\": 0.30311835674570226}, {\"x\": 78, \"f(x)\": 0.10775365229944406}, {\"x\": 79, \"f(x)\": -0.09190685022768165}, {\"x\": 80, \"f(x)\": -0.2879033166650653}, {\"x\": 81, \"f(x)\": -0.47242198639846616}, {\"x\": 82, \"f(x)\": -0.6381066823479474}, {\"x\": 83, \"f(x)\": -0.7783520785342986}, {\"x\": 84, \"f(x)\": -0.8875670335815046}, {\"x\": 85, \"f(x)\": -0.9613974918795568}, {\"x\": 86, \"f(x)\": -0.9969000660415961}, {\"x\": 87, \"f(x)\": -0.9926593804706332}, {\"x\": 88, \"f(x)\": -0.948844497918124}, {\"x\": 89, \"f(x)\": -0.8672021794855813}, {\"x\": 90, \"f(x)\": -0.750987246771676}, {\"x\": 91, \"f(x)\": -0.6048328224062841}, {\"x\": 92, \"f(x)\": -0.4345656220718967}, {\"x\": 93, \"f(x)\": -0.2469736617366209}, {\"x\": 94, \"f(x)\": -0.04953564087836742}, {\"x\": 95, \"f(x)\": 0.14987720966295234}, {\"x\": 96, \"f(x)\": 0.3433149288198954}, {\"x\": 97, \"f(x)\": 0.5230657651576964}, {\"x\": 98, \"f(x)\": 0.6819636200681355}, {\"x\": 99, \"f(x)\": 0.8136737375071054}]}}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"description\": \"Birds\", \"data\": {\"url\": \"https://raw.githubusercontent.com/hyungkwonko/tmp-data/main/birds2.csv\"}, \"transform\": [{\"filter\": {\"field\": \"Week\", \"range\": [{\"year\": 2010, \"month\": \"dec\", \"date\": 1}, {\"year\": 2020, \"month\": \"dec\", \"date\": 30}]}}], \"height\": 399, \"width\": 400, \"mark\": {\"type\": \"bar\"}, \"encoding\": {\"x\": {\"field\": \"Week\", \"type\": \"temporal\"}, \"y\": {\"field\": \"Value\", \"type\": \"quantitative\", \"title\": \"Search index\"}, \"color\": {\"field\": \"Measure\", \"type\": \"nominal\", \"title\": \"Search term\"}, \"tooltip\": [{\"field\": \"Measure\", \"type\": \"ordinal\", \"title\": \"Search index\"}, {\"field\": \"Week\", \"type\": \"temporal\", \"title\": \"Date\"}, {\"field\": \"Value\", \"type\": \"quantitative\"}]}}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"height\": 300, \"width\": 400, \"description\": \"NUmber employed by age group\", \"data\": {\"url\": \"https://raw.githubusercontent.com/RDeconomist/observatory/main/Aitken%20Fig%202a%20Formatted%20for%20FF%20and%20S.csv\"}, \"mark\": \"line\", \"encoding\": {\"x\": {\"field\": \"Period\", \"type\": \"nominal\"}, \"y\": {\"field\": \"Number employed (thousands)\", \"type\": \"quantitative\", \"title\": \"UK employment by age, seasonally adjusted, cumulative growth (thousands)\"}, \"color\": {\"field\": \"Age Group\", \"type\": \"nominal\", \"scale\": {\"range\": [\"#233a58\", \"#e54753\", \"#FFD859\", \"#ff8f32\", \"#1771b2\"]}}}}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"data\": {\"values\": [{\"choice\": \"1\", \"confidenceDegree\": \"Strongly disagree\", \"percentage\": 0.137}, {\"choice\": \"1\", \"confidenceDegree\": \"Disagree\", \"percentage\": 0.05}, {\"choice\": \"1\", \"confidenceDegree\": \"Not agree and not disagree\", \"percentage\": 0.05}, {\"choice\": \"1\", \"confidenceDegree\": \"Agree\", \"percentage\": 0.6}, {\"choice\": \"1\", \"confidenceDegree\": \"Strongly agree\", \"percentage\": 0.163}, {\"choice\": \"2\", \"confidenceDegree\": \"Strongly disagree\", \"percentage\": 0.182}, {\"choice\": \"2\", \"confidenceDegree\": \"Disagree\", \"percentage\": 0.18}, {\"choice\": \"2\", \"confidenceDegree\": \"Not agree and not disagree\", \"percentage\": 0.05}, {\"choice\": \"2\", \"confidenceDegree\": \"Agree\", \"percentage\": 0.51}, {\"choice\": \"2\", \"confidenceDegree\": \"Strongly agree\", \"percentage\": 0.078}, {\"choice\": \"3\", \"confidenceDegree\": \"Strongly disagree\", \"percentage\": 0.2}, {\"choice\": \"3\", \"confidenceDegree\": \"Disagree\", \"percentage\": 0.1}, {\"choice\": \"3\", \"confidenceDegree\": \"Not agree and not disagree\", \"percentage\": 0.3}, {\"choice\": \"3\", \"confidenceDegree\": \"Agree\", \"percentage\": 0.1}, {\"choice\": \"3\", \"confidenceDegree\": \"Strongly agree\", \"percentage\": 0.3}, {\"choice\": \"4\", \"confidenceDegree\": \"Strongly disagree\", \"percentage\": 0.162}, {\"choice\": \"4\", \"confidenceDegree\": \"Disagree\", \"percentage\": 0.125}, {\"choice\": \"4\", \"confidenceDegree\": \"Not agree and not disagree\", \"percentage\": 0.2}, {\"choice\": \"4\", \"confidenceDegree\": \"Agree\", \"percentage\": 0.4}, {\"choice\": \"4\", \"confidenceDegree\": \"Strongly agree\", \"percentage\": 0.113}]}, \"params\": [{\"name\": \"highlight\", \"select\": {\"type\": \"point\", \"on\": \"mouseover\"}}], \"transform\": [{\"calculate\": \"if(datum.confidenceDegree === 'Strongly disagree',-2,0) + if(datum.confidenceDegree==='Disagree',-1,0) + if(datum.confidenceDegree ==='Not agree and not disagree',0,0) + if(datum.confidenceDegree ==='Agree',1,0) + if(datum.confidenceDegree ==='Strongly agree',2,0)\", \"as\": \"q_order\"}, {\"calculate\": \"if(datum.confidenceDegree === 'Disagree' || datum.confidenceDegree === 'Strongly disagree', datum.percentage,0) + if(datum.confidenceDegree === 'Not agree and not disagree', datum.percentage / 2,0)\", \"as\": \"signed_percentage\"}, {\"stack\": \"percentage\", \"as\": [\"v1\", \"v2\"], \"groupby\": [\"choice\"]}, {\"joinaggregate\": [{\"field\": \"signed_percentage\", \"op\": \"sum\", \"as\": \"offset\"}], \"groupby\": [\"choice\"]}, {\"calculate\": \"datum.v1 - datum.offset\", \"as\": \"ny\"}, {\"calculate\": \"datum.v2 - datum.offset\", \"as\": \"ny2\"}], \"width\": 350, \"mark\": {\"type\": \"bar\", \"opacity\": 1, \"width\": 43}, \"encoding\": {\"y\": {\"field\": \"ny\", \"type\": \"quantitative\", \"title\": \"percentage of voters\", \"axis\": {\"labelExpr\": \"(isNaN(toNumber(datum.label[0]))? '-' + (slice(datum.label, 1)) : datum.label) *100 + '%'\"}}, \"tooltip\": {\"field\": \"percentage\", \"type\": \"nominal\", \"format\": \".1%\"}, \"y2\": {\"field\": \"ny2\"}, \"x\": {\"field\": \"choice\", \"type\": \"nominal\", \"title\": \"Choice\", \"axis\": {\"labelAngle\": 0, \"offset\": 5, \"ticks\": false, \"domain\": false, \"labelColor\": {\"condition\": {\"test\": {\"field\": \"value\", \"oneOf\": [\"2\"]}, \"value\": \"#016936\"}, \"value\": \"#b03060\"}, \"labelFontWeight\": \"bolder\", \"labelFontSize\": 12}}, \"color\": {\"field\": \"confidenceDegree\", \"type\": \"nominal\", \"title\": \"Confidence degree\", \"scale\": {\"domain\": [\"Strongly disagree\", \"Disagree\", \"Not agree and not disagree\", \"Agree\", \"Strongly agree\"], \"range\": [\"#1770ab\", \"#94c6da\", \"#cccccc\", \"#f3a583\", \"#c30d24\"], \"type\": \"ordinal\"}}, \"opacity\": {\"condition\": [{\"param\": \"highlight\", \"empty\": false, \"value\": 0.7}], \"value\": 1}}}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"config\": {\"view\": {\"stroke\": \"\"}}, \"title\": {\"text\": \"Situa\\u00e7\\u00e3o academica dos homens desde 2000.1\", \"fontSize\": 15}, \"width\": 400, \"height\": 400, \"data\": {\"url\": \"https://raw.githubusercontent.com/elasComputacao/raio-x-dados/main/data/dados-processados/situacao-academica-homens.json\"}, \"transform\": [{\"calculate\": \"ceil (datum.id/10)\", \"as\": \"row\"}, {\"calculate\": \"datum.id - datum.row*10\", \"as\": \"col\"}], \"mark\": {\"type\": \"point\", \"filled\": true}, \"encoding\": {\"x\": {\"field\": \"col\", \"type\": \"ordinal\", \"axis\": null}, \"y\": {\"field\": \"row\", \"type\": \"ordinal\", \"axis\": null}, \"shape\": {\"value\": \"M1.7 -1.7h-0.8c0.3 -0.2 0.6 -0.5 0.6 -0.9c0 -0.6 -0.4 -1 -1 -1c-0.6 0 -1 0.4 -1 1c0 0.4 0.2 0.7 0.6 0.9h-0.8c-0.4 0 -0.7 0.3 -0.7 0.6v1.9c0 0.3 0.3 0.6 0.6 0.6h0.2c0 0 0 0.1 0 0.1v1.9c0 0.3 0.2 0.6 0.3 0.6h1.3c0.2 0 0.3 -0.3 0.3 -0.6v-1.8c0 0 0 -0.1 0 -0.1h0.2c0.3 0 0.6 -0.3 0.6 -0.6v-2c0.2 -0.3 -0.1 -0.6 -0.4 -0.6z\"}, \"color\": {\"field\": \"tipo\", \"type\": \"nominal\", \"legend\": {\"rowPadding\": 5, \"symbolType\": \"circle\"}, \"scale\": {\"domain\": [\"Evadido\", \"Graduado\", \"Regular\", \"Reingresso\"], \"scheme\": \"set2\"}}, \"size\": {\"value\": 90}}, \"selection\": {\"highlight\": {\"type\": \"interval\"}}}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"config\": {\"view\": {\"stroke\": \"\"}}, \"title\": {\"text\": \"Situa\\u00e7\\u00e3o academica das mulheres desde 2000.1\", \"fontSize\": 15}, \"width\": 400, \"height\": 400, \"data\": {\"url\": \"https://raw.githubusercontent.com/elasComputacao/raio-x-dados/main/data/dados-processados/situacao-academica-mulheres.json\"}, \"transform\": [{\"calculate\": \"ceil (datum.id/10)\", \"as\": \"row\"}, {\"calculate\": \"datum.id - datum.row*10\", \"as\": \"col\"}], \"mark\": {\"type\": \"point\", \"filled\": true}, \"encoding\": {\"x\": {\"field\": \"col\", \"type\": \"ordinal\", \"axis\": null}, \"y\": {\"field\": \"row\", \"type\": \"ordinal\", \"axis\": null}, \"shape\": {\"value\": \"M 2 -2 M 2 -2 c 0.3 -0.2 0.6 -0.5 0.6 -0.9 c 0 -0.6 -0.4 -1 -1 -1 c -0.6 0 -1 0.4 -1 1 c 0 0.4 0.2 0.7 0.4 0.9 h 0 L 0 1 M 0 1 M 0 1 M 0 1 M 0 1 L 0 1 c 0 0.3 0.3 0.6 0.6 0.6 h 0.2 c 0 0 0 0.1 0 0.1 v 1.9 c 0 0.3 0.2 0.6 0.3 0.6 h 1.3 c 0.2 0 0.3 -0.3 0.3 -0.6 v -1.8 c 0 0 0 -0.1 0 -0.1 h 0.2 c 0.3 0 0.6 -0.3 0.6 -0.6 L 2 -2 z M 2 -2\"}, \"color\": {\"field\": \"tipo\", \"type\": \"nominal\", \"legend\": {\"rowPadding\": 5, \"symbolType\": \"circle\"}, \"scale\": {\"domain\": [\"Evadido\", \"Graduado\", \"Regular\", \"Reingresso\"], \"scheme\": \"set2\"}}, \"size\": {\"value\": 90}}, \"selection\": {\"highlight\": {\"type\": \"interval\"}}}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"data\": {\"url\": \"https://raw.githubusercontent.com/elasComputacao/raio-x-dados/main/data/dados-processados/cotas.csv\"}, \"transform\": [{\"aggregate\": [{\"op\": \"count\", \"field\": \"forma_reserva_vagas\", \"as\": \"count_cota\"}], \"groupby\": [\"forma_reserva_vagas\", \"periodo_ingresso\"]}], \"title\": {\"text\": \"Tipos de cota utilizadas pelas ingressantes\", \"fontSize\": 15}, \"width\": 700, \"height\": 250, \"mark\": {\"type\": \"bar\", \"tooltip\": true}, \"encoding\": {\"y\": {\"field\": \"periodo_ingresso\", \"type\": \"nominal\", \"title\": \"Periodo\", \"sort\": \"-y\"}, \"x\": {\"field\": \"count_cota\", \"type\": \"quantitative\", \"title\": \"Quantidade de vagas utilizadas\"}, \"tooltip\": [{\"field\": \"periodo_ingresso\", \"type\": \"ordinal\", \"title\": \"Per\\u00edodo\"}, {\"field\": \"forma_reserva_vagas\", \"type\": \"ordinal\", \"title\": \"Cota\"}, {\"field\": \"count_cota\", \"type\": \"quantitative\", \"title\": \"Quantidade\"}], \"order\": {\"field\": \"forma_reserva_vagas\"}, \"color\": {\"field\": \"forma_reserva_vagas\", \"type\": \"nominal\", \"scale\": {\"domain\": [\"Escola\", \"Escola Cor\", \"Escola Cor Deficiencia\", \"Escola Renda\", \"Escola Renda Cor\", \"Escola Renda Cor Deficiencia\", \"Escola Renda Deficiencia\"], \"scheme\": \"set2\"}, \"title\": \"Cota\"}}}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"description\": \"A ranged dot plot that uses 'layer' to convey changing life expectancy for the five most populous countries (between 1955 and 2000).\", \"data\": {\"url\": \"https://raw.githubusercontent.com/elasComputacao/raio-x-dados/dados-desempenho/data/dados-processados/desempenho.csv\"}, \"title\": {\"text\": \"Desempenho das top 20 disciplinas\", \"fontSize\": 15, \"anchor\": \"middle\"}, \"width\": 450, \"height\": 250, \"encoding\": {\"x\": {\"field\": \"value\", \"type\": \"quantitative\", \"title\": \"Mediana das notas\", \"scale\": {\"domain\": [4.8, 8]}}, \"y\": {\"field\": \"nome_disciplina\", \"type\": \"nominal\", \"title\": \"Disciplinas\", \"axis\": {\"offset\": 5, \"ticks\": false, \"minExtent\": 70, \"domain\": false}}, \"tooltip\": [{\"field\": \"nome_disciplina\", \"type\": \"nominal\", \"title\": \"Disciplina\"}, {\"field\": \"mediana\", \"type\": \"nominal\", \"title\": \"Sexo\"}, {\"field\": \"value\", \"type\": \"quantitative\", \"title\": \"Mediana\"}]}, \"layer\": [{\"mark\": \"line\", \"encoding\": {\"detail\": {\"field\": \"nome_disciplina\", \"type\": \"nominal\"}, \"color\": {\"value\": \"#000000\"}}}, {\"mark\": {\"type\": \"point\", \"filled\": true}, \"encoding\": {\"color\": {\"scale\": {\"range\": [\"#d95f02\", \"#1b9e77\"]}, \"field\": \"mediana\", \"type\": \"nominal\", \"title\": \"Sexo\"}, \"size\": {\"value\": 40}, \"opacity\": {\"value\": 1}}}]}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"data\": {\"url\": \"https://raw.githubusercontent.com/elasComputacao/raio-x-dados/main/data/dados-processados/mulheres.csv\"}, \"mark\": {\"type\": \"bar\", \"color\": \"#F1C40F\", \"tooltip\": true}, \"title\": {\"text\": \"Idade de ingresso das ingressantes, de 2000.1 at\\u00e9 2020.1\", \"fontSize\": 15}, \"transform\": [{\"filter\": \"datum.periodo_ingresso >= 2000.1\"}, {\"aggregate\": [{\"op\": \"count\", \"field\": \"idade_ingresso\", \"as\": \"count_idade\"}], \"groupby\": [\"idade_ingresso\"]}], \"width\": 700, \"height\": 200, \"encoding\": {\"x\": {\"field\": \"idade_ingresso\", \"title\": \"Idade de ingresso\", \"axis\": {\"labelAngle\": 0}}, \"y\": {\"field\": \"count_idade\", \"type\": \"quantitative\", \"title\": \"Quantidade\"}, \"tooltip\": [{\"field\": \"idade_ingresso\", \"type\": \"ordinal\", \"title\": \"Idade\"}, {\"field\": \"count_idade\", \"type\": \"quantitative\", \"title\": \"Quantidade\"}]}}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"title\": {\"text\": \"Quantidade de ingressantes no curso\", \"fontSize\": 15}, \"data\": {\"url\": \"https://raw.githubusercontent.com/elasComputacao/raio-x-dados/main/data/dados-processados/ingresso.csv\"}, \"mark\": {\"type\": \"bar\"}, \"encoding\": {\"x\": {\"field\": \"periodo_ingresso\", \"type\": \"ordinal\", \"title\": \"Periodo de ingresso\"}, \"y\": {\"field\": \"contagem\", \"type\": \"quantitative\", \"aggregate\": \"sum\", \"title\": \"Quantidade de alunos\"}, \"tooltip\": [{\"field\": \"periodo_ingresso\", \"type\": \"ordinal\", \"title\": \"Per\\u00edodo\"}, {\"field\": \"sexo\", \"type\": \"ordinal\", \"title\": \"Sexo\"}, {\"field\": \"contagem\", \"type\": \"quantitative\", \"title\": \"Quantidade\"}], \"color\": {\"field\": \"sexo\", \"type\": \"nominal\", \"scale\": {\"domain\": [\"Masculino\", \"Feminino\"], \"scheme\": \"set2\"}, \"title\": \"Sexo\"}, \"order\": {\"aggregate\": \"sum\", \"field\": \"contagem\"}}}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"title\": {\"text\": \"Distribui\\u00e7\\u00e3o da m\\u00e9dia de ingresso das mulheres e a m\\u00e9dia geral\", \"fontSize\": 15}, \"data\": {\"url\": \"https://raw.githubusercontent.com/elasComputacao/raio-x-dados/main/data/dados-processados/notas.csv\"}, \"encoding\": {\"x\": {\"field\": \"periodo_ingresso\", \"type\": \"nominal\", \"title\": \"Per\\u00edodo\"}}, \"layer\": [{\"encoding\": {\"color\": {\"field\": \"classe\", \"type\": \"nominal\", \"title\": \"M\\u00e9dia\", \"scale\": {\"domain\": [\"geral\", \"mulheres\"], \"scheme\": \"pastel1\"}}, \"y\": {\"field\": \"media\", \"type\": \"quantitative\", \"title\": \"Nota m\\u00e9dia\"}}, \"layer\": [{\"mark\": \"line\"}, {\"transform\": [{\"filter\": {\"selection\": \"hover\"}}], \"mark\": \"point\"}]}, {\"transform\": [{\"pivot\": \"classe\", \"value\": \"media\", \"groupby\": [\"periodo_ingresso\"]}], \"mark\": \"rule\", \"encoding\": {\"opacity\": {\"condition\": {\"value\": 0.3, \"selection\": \"hover\"}, \"value\": 0}, \"tooltip\": [{\"field\": \"periodo_ingresso\", \"type\": \"nominal\", \"title\": \"Per\\u00edodo\"}, {\"field\": \"geral\", \"type\": \"quantitative\", \"title\": \"M\\u00e9dia geral\"}, {\"field\": \"mulheres\", \"type\": \"quantitative\", \"title\": \"M\\u00e9dia mulheres\"}]}, \"selection\": {\"hover\": {\"type\": \"single\", \"fields\": [\"periodo_ingresso\"], \"nearest\": true, \"on\": \"mouseover\", \"empty\": \"none\", \"clear\": \"mouseout\"}}}]}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"title\": {\"text\": \"Distribui\\u00e7\\u00e3o da ra\\u00e7a das mulheres\", \"fontSize\": 15}, \"width\": 900, \"height\": 300, \"autosize\": {\"resize\": true, \"type\": \"fit\", \"contains\": \"width\"}, \"data\": {\"url\": \"https://raw.githubusercontent.com/elasComputacao/raio-x-dados/main/data/dados-processados/raca.csv\"}, \"transform\": [{\"aggregate\": [{\"op\": \"count\", \"field\": \"nome_cor\", \"as\": \"count_nome_cor\"}], \"groupby\": [\"nome_cor\", \"periodo_ingresso\"]}], \"mark\": {\"type\": \"circle\", \"opacity\": 0.8, \"stroke\": \"black\", \"strokeWidth\": 1, \"tooltip\": true}, \"encoding\": {\"x\": {\"field\": \"periodo_ingresso\", \"type\": \"nominal\", \"title\": \"Per\\u00edodo\", \"axis\": {\"grid\": false}}, \"y\": {\"field\": \"nome_cor\", \"type\": \"nominal\", \"title\": \"Tipos de ra\\u00e7as\"}, \"size\": {\"field\": \"count_nome_cor\", \"type\": \"quantitative\", \"title\": \"Quantidade\", \"legend\": {\"clipHeight\": 30}, \"scale\": {\"rangeMax\": 500}}, \"tooltip\": [{\"field\": \"periodo_ingresso\", \"type\": \"ordinal\", \"title\": \"Per\\u00edodo\"}, {\"field\": \"nome_cor\", \"type\": \"ordinal\", \"title\": \"Ra\\u00e7a\"}, {\"field\": \"count_nome_cor\", \"type\": \"quantitative\", \"title\": \"Quantidade\"}], \"color\": {\"field\": \"nome_cor\", \"type\": \"nominal\", \"scale\": {\"domain\": [\"Amarela\", \"Branca\", \"N\\u00e3o declarada\", \"Parda\", \"Preta\"], \"scheme\": \"category20\"}, \"legend\": null}}}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"description\": \"Two vertically concatenated charts that show a histogram of precipitation in Seattle and the relationship between min and max temperature.\", \"title\": {\"text\": \"Situa\\u00e7\\u00e3o acad\\u00eamica entre homens e mulheres\", \"fontSize\": 15, \"anchor\": \"middle\"}, \"data\": {\"url\": \"https://raw.githubusercontent.com/elasComputacao/raio-x-dados/5688192f0ef41ffc80f848db51de0d0c7e513ce4/data/dados-processados/situacao_academica.csv\"}, \"vconcat\": [{\"mark\": \"bar\", \"width\": 500, \"height\": 250, \"encoding\": {\"y\": {\"field\": \"forma_saida\", \"title\": \"Situa\\u00e7\\u00e3o acad\\u00eamica\"}, \"x\": {\"field\": \"count\", \"type\": \"quantitative\", \"title\": \"Quantidade de estudantes\"}, \"tooltip\": [{\"field\": \"sexo\", \"type\": \"ordinal\", \"title\": \"Sexo\"}, {\"field\": \"count\", \"type\": \"quantitative\", \"title\": \"Quantidade\"}], \"color\": {\"field\": \"sexo\", \"title\": \"G\\u00eanero\", \"scale\": {\"domain\": [\"Masculino\", \"Feminino\"], \"scheme\": \"set2\"}}}}]}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"description\": \"A ranged dot plot that uses 'layer' to convey changing life expectancy for the five most populous countries (between 1955 and 2000).\", \"data\": {\"url\": \"https://raw.githubusercontent.com/elasComputacao/raio-x-dados/dados-sucesso-insucesso/data/dados-processados/sucesso_insucesso.csv\"}, \"title\": {\"text\": \"Taxa de sucesso das top 20 disciplinas\", \"fontSize\": 15, \"anchor\": \"middle\"}, \"width\": 450, \"height\": 250, \"encoding\": {\"x\": {\"field\": \"value\", \"type\": \"quantitative\", \"title\": \"Percentual de sucesso\", \"scale\": {\"domain\": [0.37, 0.8]}}, \"y\": {\"field\": \"nome_disciplina\", \"type\": \"nominal\", \"title\": \"Disciplinas\", \"axis\": {\"offset\": 5, \"ticks\": false, \"minExtent\": 70, \"domain\": false}}, \"tooltip\": [{\"field\": \"nome_disciplina\", \"type\": \"nominal\", \"title\": \"Disciplina\"}, {\"field\": \"sexo\", \"type\": \"nominal\", \"title\": \"Sexo\"}, {\"field\": \"value\", \"type\": \"quantitative\", \"title\": \"Sucesso(%)\"}]}, \"layer\": [{\"mark\": \"line\", \"encoding\": {\"detail\": {\"field\": \"nome_disciplina\", \"type\": \"nominal\"}, \"color\": {\"value\": \"#000000\"}}}, {\"mark\": {\"type\": \"point\", \"filled\": true}, \"encoding\": {\"color\": {\"scale\": {\"range\": [\"#d95f02\", \"#1b9e77\"]}, \"field\": \"sexo\", \"type\": \"nominal\", \"title\": \"G\\u00eanero\"}, \"size\": {\"value\": 40}, \"opacity\": {\"value\": 1}}}]}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"config\": {\"view\": {\"stroke\": \"\"}}, \"width\": 400, \"height\": 700, \"data\": {\"url\": \"https://gicentre.github.io/scrc/data/geo/scotLAs2017.json\", \"format\": {\"type\": \"topojson\", \"feature\": \"scotLAs2017\"}}, \"projection\": {\"type\": \"identity\", \"reflectY\": true}, \"encoding\": {\"color\": {\"field\": \"properties.lad17nm\", \"type\": \"nominal\", \"legend\": {\"title\": null}, \"scale\": {\"scheme\": \"tableau20\"}}, \"tooltip\": {\"field\": \"properties.lad17nm\", \"type\": \"nominal\"}}, \"mark\": {\"type\": \"geoshape\", \"stroke\": \"white\", \"strokeWidth\": 2, \"strokeJoin\": \"round\"}}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"config\": {\"view\": {\"stroke\": \"\"}}, \"width\": 400, \"height\": 700, \"projection\": {\"type\": \"identity\", \"reflectY\": true}, \"layer\": [{\"data\": {\"url\": \"https://gicentre.github.io/scrc/data/geo/scotLAs2017.json\", \"format\": {\"type\": \"topojson\", \"feature\": \"scotLAs2017\"}}, \"encoding\": {\"color\": {\"field\": \"properties.lad17nm\", \"type\": \"nominal\", \"legend\": null, \"scale\": {\"scheme\": \"tableau20\"}}, \"tooltip\": {\"field\": \"properties.lad17nm\", \"type\": \"nominal\"}}, \"mark\": {\"type\": \"geoshape\", \"stroke\": \"white\", \"strokeWidth\": 2, \"strokeJoin\": \"round\", \"opacity\": 0.2}}, {\"data\": {\"url\": \"https://gicentre.github.io/scrc/data/flows/scotLAsFlows.csv\"}, \"transform\": [{\"lookup\": \"source\", \"from\": {\"data\": {\"url\": \"https://gicentre.github.io/scrc/data/geo/scotLACentroids.csv\"}, \"key\": \"lad17cd\", \"fields\": [\"cx\", \"cy\"]}}, {\"calculate\": \"datum.cx\", \"as\": \"oX\"}, {\"calculate\": \"datum.cy\", \"as\": \"oY\"}, {\"lookup\": \"dest\", \"from\": {\"data\": {\"url\": \"https://gicentre.github.io/scrc/data/geo/scotLACentroids.csv\"}, \"key\": \"lad17cd\", \"fields\": [\"cx\", \"cy\"]}}, {\"calculate\": \"datum.cx\", \"as\": \"dX\"}, {\"calculate\": \"datum.cy\", \"as\": \"dY\"}, {\"filter\": \"datum.oX != datum.dX || datum.oY != datum.dY\"}], \"encoding\": {\"x\": {\"field\": \"oX\", \"type\": \"quantitative\", \"scale\": {\"nice\": false, \"zero\": false, \"domain\": [70353, 465892]}, \"axis\": null}, \"y\": {\"field\": \"oY\", \"type\": \"quantitative\", \"scale\": {\"nice\": false, \"zero\": false, \"domain\": [535457, 1218575]}, \"axis\": null}, \"x2\": {\"field\": \"dX\"}, \"y2\": {\"field\": \"dY\"}, \"strokeWidth\": {\"field\": \"total\", \"type\": \"quantitative\", \"scale\": {\"type\": \"linear\", \"range\": [0.2, 20]}, \"legend\": null}}, \"mark\": {\"type\": \"rule\", \"color\": \"brown\", \"opacity\": 0.3, \"strokeCap\": \"round\"}}]}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"config\": {\"view\": {\"stroke\": \"\"}}, \"background\": \"#f9f9f9\", \"width\": 500, \"height\": 500, \"data\": {\"url\": \"https://gicentre.github.io/scrc/data/grid/scotLAsGrid.csv\"}, \"layer\": [{\"encoding\": {\"x\": {\"field\": \"g79X\", \"type\": \"quantitative\", \"scale\": {\"nice\": false, \"domain\": [0, 6]}, \"axis\": null}, \"y\": {\"field\": \"g79Y\", \"type\": \"quantitative\", \"sort\": \"descending\", \"scale\": {\"nice\": false, \"domain\": [0, 6]}, \"axis\": null}, \"color\": {\"field\": \"regionName\", \"type\": \"nominal\", \"scale\": {\"scheme\": \"tableau20\"}, \"legend\": null}, \"tooltip\": {\"field\": \"regionName\", \"type\": \"nominal\"}}, \"mark\": {\"type\": \"square\", \"stroke\": \"white\", \"strokeWidth\": 2, \"opacity\": 1, \"size\": 6944.444444444444}}, {\"encoding\": {\"x\": {\"field\": \"g79X\", \"type\": \"quantitative\", \"scale\": {\"nice\": false, \"domain\": [0, 6]}, \"axis\": null}, \"y\": {\"field\": \"g79Y\", \"type\": \"quantitative\", \"sort\": \"descending\", \"scale\": {\"nice\": false, \"domain\": [0, 6]}, \"axis\": null}, \"text\": {\"field\": \"regionName\", \"type\": \"nominal\"}}, \"mark\": {\"type\": \"text\", \"fontsize\": 7.5}}]}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"config\": {\"view\": {\"stroke\": \"\"}}, \"width\": 400, \"height\": 700, \"data\": {\"url\": \"https://gicentre.github.io/scrc/data/geo/scotLAs2017.json\", \"format\": {\"type\": \"topojson\", \"feature\": \"scotLAs2017\"}}, \"projection\": {\"type\": \"identity\", \"reflectY\": true}, \"encoding\": {\"color\": {\"field\": \"properties.lad17nm\", \"type\": \"nominal\", \"legend\": null, \"scale\": {\"scheme\": \"tableau20\"}}, \"tooltip\": {\"field\": \"properties.lad17nm\", \"type\": \"nominal\"}}, \"mark\": {\"type\": \"geoshape\", \"stroke\": \"white\", \"strokeWidth\": 2, \"strokeJoin\": \"round\"}}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"config\": {\"view\": {\"stroke\": \"\"}}, \"background\": \"#f9f9fc\", \"title\": {\"text\": \"likelyOperating\", \"offset\": -40, \"anchor\": \"start\", \"fontsize\": 18}, \"width\": 500, \"height\": 500, \"data\": {\"url\": \"https://gicentre.github.io/scrc/data/grid/scotLAsGrid.csv\", \"format\": {\"parse\": {\"g79x\": \"number\", \"g79y\": \"number\"}}}, \"layer\": [{\"encoding\": {\"x\": {\"field\": \"g79X\", \"type\": \"quantitative\", \"scale\": {\"nice\": false, \"domain\": [0, 6]}, \"axis\": null}, \"y\": {\"field\": \"g79Y\", \"type\": \"quantitative\", \"sort\": \"descending\", \"scale\": {\"nice\": false, \"domain\": [0, 6]}, \"axis\": null}}, \"mark\": {\"type\": \"square\", \"stroke\": \"white\", \"strokeWidth\": 2, \"fill\": \"#ddd\", \"size\": 6944.444444444444}}, {\"encoding\": {\"x\": {\"field\": \"g79X\", \"type\": \"quantitative\", \"scale\": {\"nice\": false, \"domain\": [0, 6]}, \"axis\": null}, \"y\": {\"field\": \"g79Y\", \"type\": \"quantitative\", \"sort\": \"descending\", \"scale\": {\"nice\": false, \"domain\": [0, 6]}, \"axis\": null}, \"text\": {\"field\": \"regionName\", \"type\": \"nominal\"}}, \"mark\": {\"type\": \"text\", \"fontsize\": 8, \"dy\": 15}}, {\"data\": {\"url\": \"https://gicentre.github.io/scrc/data/flows/scotLAsFlows.csv\"}, \"transform\": [{\"lookup\": \"source\", \"from\": {\"data\": {\"url\": \"https://gicentre.github.io/scrc/data/grid/scotLAsGrid.csv\", \"format\": {\"parse\": {\"g79x\": \"number\", \"g79y\": \"number\"}}}, \"key\": \"regionCode\", \"fields\": [\"g79X\", \"g79Y\"]}}, {\"calculate\": \"datum.g79X\", \"as\": \"oCol\"}, {\"calculate\": \"datum.g79Y\", \"as\": \"oRow\"}, {\"lookup\": \"dest\", \"from\": {\"data\": {\"url\": \"https://gicentre.github.io/scrc/data/grid/scotLAsGrid.csv\", \"format\": {\"parse\": {\"g79x\": \"number\", \"g79y\": \"number\"}}}, \"key\": \"regionCode\", \"fields\": [\"g79X\", \"g79Y\"]}}, {\"calculate\": \"datum.g79X\", \"as\": \"dCol\"}, {\"calculate\": \"datum.g79Y\", \"as\": \"dRow\"}, {\"filter\": \"datum.oCol != datum.dCol || datum.oRow != datum.dRow\"}], \"encoding\": {\"x\": {\"field\": \"oCol\", \"type\": \"quantitative\", \"scale\": {\"nice\": false, \"domain\": [0, 6]}, \"axis\": null}, \"y\": {\"field\": \"oRow\", \"type\": \"quantitative\", \"sort\": \"descending\", \"scale\": {\"nice\": false, \"domain\": [0, 6]}, \"axis\": null}, \"x2\": {\"field\": \"dCol\"}, \"y2\": {\"field\": \"dRow\"}, \"strokeWidth\": {\"field\": \"likelyOperating\", \"type\": \"quantitative\", \"scale\": {\"type\": \"linear\", \"range\": [0.2, 30]}, \"legend\": null}}, \"mark\": {\"type\": \"rule\", \"color\": \"brown\", \"opacity\": 0.3, \"strokeCap\": \"round\"}}]}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"config\": {\"view\": {\"stroke\": \"\"}}, \"background\": \"#f9f9fc\", \"title\": {\"text\": \"otherMiddle\", \"offset\": -40, \"anchor\": \"start\", \"fontsize\": 18}, \"width\": 500, \"height\": 500, \"data\": {\"url\": \"https://gicentre.github.io/scrc/data/grid/scotLAsGrid.csv\", \"format\": {\"parse\": {\"g79x\": \"number\", \"g79y\": \"number\"}}}, \"layer\": [{\"encoding\": {\"x\": {\"field\": \"g79X\", \"type\": \"quantitative\", \"scale\": {\"nice\": false, \"domain\": [0, 6]}, \"axis\": null}, \"y\": {\"field\": \"g79Y\", \"type\": \"quantitative\", \"sort\": \"descending\", \"scale\": {\"nice\": false, \"domain\": [0, 6]}, \"axis\": null}}, \"mark\": {\"type\": \"square\", \"stroke\": \"white\", \"strokeWidth\": 2, \"fill\": \"#ddd\", \"size\": 6944.444444444444}}, {\"encoding\": {\"x\": {\"field\": \"g79X\", \"type\": \"quantitative\", \"scale\": {\"nice\": false, \"domain\": [0, 6]}, \"axis\": null}, \"y\": {\"field\": \"g79Y\", \"type\": \"quantitative\", \"sort\": \"descending\", \"scale\": {\"nice\": false, \"domain\": [0, 6]}, \"axis\": null}, \"text\": {\"field\": \"regionName\", \"type\": \"nominal\"}}, \"mark\": {\"type\": \"text\", \"fontsize\": 8, \"dy\": 15}}, {\"data\": {\"url\": \"https://gicentre.github.io/scrc/data/flows/scotLAsFlows.csv\"}, \"transform\": [{\"lookup\": \"source\", \"from\": {\"data\": {\"url\": \"https://gicentre.github.io/scrc/data/grid/scotLAsGrid.csv\", \"format\": {\"parse\": {\"g79x\": \"number\", \"g79y\": \"number\"}}}, \"key\": \"regionCode\", \"fields\": [\"g79X\", \"g79Y\"]}}, {\"calculate\": \"datum.g79X\", \"as\": \"oCol\"}, {\"calculate\": \"datum.g79Y\", \"as\": \"oRow\"}, {\"lookup\": \"dest\", \"from\": {\"data\": {\"url\": \"https://gicentre.github.io/scrc/data/grid/scotLAsGrid.csv\", \"format\": {\"parse\": {\"g79x\": \"number\", \"g79y\": \"number\"}}}, \"key\": \"regionCode\", \"fields\": [\"g79X\", \"g79Y\"]}}, {\"calculate\": \"datum.g79X\", \"as\": \"dCol\"}, {\"calculate\": \"datum.g79Y\", \"as\": \"dRow\"}, {\"filter\": \"datum.oCol != datum.dCol || datum.oRow != datum.dRow\"}], \"encoding\": {\"x\": {\"field\": \"oCol\", \"type\": \"quantitative\", \"scale\": {\"nice\": false, \"domain\": [0, 6]}, \"axis\": null}, \"y\": {\"field\": \"oRow\", \"type\": \"quantitative\", \"sort\": \"descending\", \"scale\": {\"nice\": false, \"domain\": [0, 6]}, \"axis\": null}, \"x2\": {\"field\": \"dCol\"}, \"y2\": {\"field\": \"dRow\"}, \"strokeWidth\": {\"field\": \"otherMiddle\", \"type\": \"quantitative\", \"scale\": {\"type\": \"linear\", \"range\": [0.2, 30]}, \"legend\": null}}, \"mark\": {\"type\": \"rule\", \"color\": \"brown\", \"opacity\": 0.3, \"strokeCap\": \"round\"}}]}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"config\": {\"view\": {\"stroke\": \"\"}}, \"background\": \"#f9f9fc\", \"title\": {\"text\": \"officeClosed\", \"offset\": -40, \"anchor\": \"start\", \"fontsize\": 18}, \"width\": 500, \"height\": 500, \"data\": {\"url\": \"https://gicentre.github.io/scrc/data/grid/scotLAsGrid.csv\", \"format\": {\"parse\": {\"g79x\": \"number\", \"g79y\": \"number\"}}}, \"layer\": [{\"encoding\": {\"x\": {\"field\": \"g79X\", \"type\": \"quantitative\", \"scale\": {\"nice\": false, \"domain\": [0, 6]}, \"axis\": null}, \"y\": {\"field\": \"g79Y\", \"type\": \"quantitative\", \"sort\": \"descending\", \"scale\": {\"nice\": false, \"domain\": [0, 6]}, \"axis\": null}}, \"mark\": {\"type\": \"square\", \"stroke\": \"white\", \"strokeWidth\": 2, \"fill\": \"#ddd\", \"size\": 6944.444444444444}}, {\"encoding\": {\"x\": {\"field\": \"g79X\", \"type\": \"quantitative\", \"scale\": {\"nice\": false, \"domain\": [0, 6]}, \"axis\": null}, \"y\": {\"field\": \"g79Y\", \"type\": \"quantitative\", \"sort\": \"descending\", \"scale\": {\"nice\": false, \"domain\": [0, 6]}, \"axis\": null}, \"text\": {\"field\": \"regionName\", \"type\": \"nominal\"}}, \"mark\": {\"type\": \"text\", \"fontsize\": 8, \"dy\": 15}}, {\"data\": {\"url\": \"https://gicentre.github.io/scrc/data/flows/scotLAsFlows.csv\"}, \"transform\": [{\"lookup\": \"source\", \"from\": {\"data\": {\"url\": \"https://gicentre.github.io/scrc/data/grid/scotLAsGrid.csv\", \"format\": {\"parse\": {\"g79x\": \"number\", \"g79y\": \"number\"}}}, \"key\": \"regionCode\", \"fields\": [\"g79X\", \"g79Y\"]}}, {\"calculate\": \"datum.g79X\", \"as\": \"oCol\"}, {\"calculate\": \"datum.g79Y\", \"as\": \"oRow\"}, {\"lookup\": \"dest\", \"from\": {\"data\": {\"url\": \"https://gicentre.github.io/scrc/data/grid/scotLAsGrid.csv\", \"format\": {\"parse\": {\"g79x\": \"number\", \"g79y\": \"number\"}}}, \"key\": \"regionCode\", \"fields\": [\"g79X\", \"g79Y\"]}}, {\"calculate\": \"datum.g79X\", \"as\": \"dCol\"}, {\"calculate\": \"datum.g79Y\", \"as\": \"dRow\"}, {\"filter\": \"datum.oCol != datum.dCol || datum.oRow != datum.dRow\"}], \"encoding\": {\"x\": {\"field\": \"oCol\", \"type\": \"quantitative\", \"scale\": {\"nice\": false, \"domain\": [0, 6]}, \"axis\": null}, \"y\": {\"field\": \"oRow\", \"type\": \"quantitative\", \"sort\": \"descending\", \"scale\": {\"nice\": false, \"domain\": [0, 6]}, \"axis\": null}, \"x2\": {\"field\": \"dCol\"}, \"y2\": {\"field\": \"dRow\"}, \"strokeWidth\": {\"field\": \"officeClosed\", \"type\": \"quantitative\", \"scale\": {\"type\": \"linear\", \"range\": [0.2, 30]}, \"legend\": null}}, \"mark\": {\"type\": \"rule\", \"color\": \"brown\", \"opacity\": 0.3, \"strokeCap\": \"round\"}}]}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"config\": {\"view\": {\"stroke\": \"\"}}, \"background\": \"#f9f9fc\", \"title\": {\"text\": \"otherClosed\", \"offset\": -40, \"anchor\": \"start\", \"fontsize\": 18}, \"width\": 500, \"height\": 500, \"data\": {\"url\": \"https://gicentre.github.io/scrc/data/grid/scotLAsGrid.csv\", \"format\": {\"parse\": {\"g79x\": \"number\", \"g79y\": \"number\"}}}, \"layer\": [{\"encoding\": {\"x\": {\"field\": \"g79X\", \"type\": \"quantitative\", \"scale\": {\"nice\": false, \"domain\": [0, 6]}, \"axis\": null}, \"y\": {\"field\": \"g79Y\", \"type\": \"quantitative\", \"sort\": \"descending\", \"scale\": {\"nice\": false, \"domain\": [0, 6]}, \"axis\": null}}, \"mark\": {\"type\": \"square\", \"stroke\": \"white\", \"strokeWidth\": 2, \"fill\": \"#ddd\", \"size\": 6944.444444444444}}, {\"encoding\": {\"x\": {\"field\": \"g79X\", \"type\": \"quantitative\", \"scale\": {\"nice\": false, \"domain\": [0, 6]}, \"axis\": null}, \"y\": {\"field\": \"g79Y\", \"type\": \"quantitative\", \"sort\": \"descending\", \"scale\": {\"nice\": false, \"domain\": [0, 6]}, \"axis\": null}, \"text\": {\"field\": \"regionName\", \"type\": \"nominal\"}}, \"mark\": {\"type\": \"text\", \"fontsize\": 8, \"dy\": 15}}, {\"data\": {\"url\": \"https://gicentre.github.io/scrc/data/flows/scotLAsFlows.csv\"}, \"transform\": [{\"lookup\": \"source\", \"from\": {\"data\": {\"url\": \"https://gicentre.github.io/scrc/data/grid/scotLAsGrid.csv\", \"format\": {\"parse\": {\"g79x\": \"number\", \"g79y\": \"number\"}}}, \"key\": \"regionCode\", \"fields\": [\"g79X\", \"g79Y\"]}}, {\"calculate\": \"datum.g79X\", \"as\": \"oCol\"}, {\"calculate\": \"datum.g79Y\", \"as\": \"oRow\"}, {\"lookup\": \"dest\", \"from\": {\"data\": {\"url\": \"https://gicentre.github.io/scrc/data/grid/scotLAsGrid.csv\", \"format\": {\"parse\": {\"g79x\": \"number\", \"g79y\": \"number\"}}}, \"key\": \"regionCode\", \"fields\": [\"g79X\", \"g79Y\"]}}, {\"calculate\": \"datum.g79X\", \"as\": \"dCol\"}, {\"calculate\": \"datum.g79Y\", \"as\": \"dRow\"}, {\"filter\": \"datum.oCol != datum.dCol || datum.oRow != datum.dRow\"}], \"encoding\": {\"x\": {\"field\": \"oCol\", \"type\": \"quantitative\", \"scale\": {\"nice\": false, \"domain\": [0, 6]}, \"axis\": null}, \"y\": {\"field\": \"oRow\", \"type\": \"quantitative\", \"sort\": \"descending\", \"scale\": {\"nice\": false, \"domain\": [0, 6]}, \"axis\": null}, \"x2\": {\"field\": \"dCol\"}, \"y2\": {\"field\": \"dRow\"}, \"strokeWidth\": {\"field\": \"otherClosed\", \"type\": \"quantitative\", \"scale\": {\"type\": \"linear\", \"range\": [0.2, 30]}, \"legend\": null}}, \"mark\": {\"type\": \"rule\", \"color\": \"brown\", \"opacity\": 0.3, \"strokeCap\": \"round\"}}]}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"config\": {\"view\": {\"stroke\": \"\"}}, \"background\": \"black\", \"title\": {\"text\": \"otherMiddle\", \"color\": \"white\", \"offset\": -40, \"anchor\": \"start\", \"fontsize\": 20}, \"width\": 500, \"height\": 500, \"data\": {\"url\": \"https://gicentre.github.io/scrc/data/grid/scotLAsGrid.csv\", \"format\": {\"parse\": {\"g79x\": \"number\", \"g79y\": \"number\"}}}, \"layer\": [{\"encoding\": {\"x\": {\"field\": \"g79X\", \"type\": \"quantitative\", \"scale\": {\"nice\": false, \"domain\": [0, 6]}, \"axis\": null}, \"y\": {\"field\": \"g79Y\", \"type\": \"quantitative\", \"sort\": \"descending\", \"scale\": {\"nice\": false, \"domain\": [0, 6]}, \"axis\": null}}, \"mark\": {\"type\": \"square\", \"stroke\": \"black\", \"strokeWidth\": 2, \"fill\": \"#333\", \"size\": 6944.444444444444}}, {\"data\": {\"url\": \"https://gicentre.github.io/scrc/data/flows/scotLAsFlows.csv\"}, \"transform\": [{\"lookup\": \"source\", \"from\": {\"data\": {\"url\": \"https://gicentre.github.io/scrc/data/grid/scotLAsGrid.csv\", \"format\": {\"parse\": {\"g79x\": \"number\", \"g79y\": \"number\"}}}, \"key\": \"regionCode\", \"fields\": [\"g79X\", \"g79Y\"]}}, {\"calculate\": \"datum.g79X\", \"as\": \"oCol\"}, {\"calculate\": \"datum.g79Y\", \"as\": \"oRow\"}, {\"calculate\": \"datum.oCol-0\", \"as\": \"oX\"}, {\"calculate\": \"datum.oRow-0\", \"as\": \"oY\"}, {\"lookup\": \"dest\", \"from\": {\"data\": {\"url\": \"https://gicentre.github.io/scrc/data/grid/scotLAsGrid.csv\", \"format\": {\"parse\": {\"g79x\": \"number\", \"g79y\": \"number\"}}}, \"key\": \"regionCode\", \"fields\": [\"g79X\", \"g79Y\"]}}, {\"calculate\": \"datum.g79X\", \"as\": \"dCol\"}, {\"calculate\": \"datum.g79Y\", \"as\": \"dRow\"}, {\"calculate\": \"datum.dCol+0\", \"as\": \"dX\"}, {\"calculate\": \"datum.dRow+0\", \"as\": \"dY\"}, {\"filter\": \"datum.oCol != datum.dCol || datum.oRow != datum.dRow\"}, {\"calculate\": \"datum.otherMiddle- datum.likelyOperating\", \"as\": \"diff\"}], \"encoding\": {\"x\": {\"field\": \"oX\", \"type\": \"quantitative\", \"scale\": {\"nice\": false, \"domain\": [0, 6]}, \"axis\": null}, \"y\": {\"field\": \"oY\", \"type\": \"quantitative\", \"sort\": \"descending\", \"scale\": {\"nice\": false, \"domain\": [0, 6]}, \"axis\": null}, \"x2\": {\"field\": \"dX\"}, \"y2\": {\"field\": \"dY\"}, \"strokeWidth\": {\"field\": \"total\", \"type\": \"quantitative\", \"scale\": {\"type\": \"linear\", \"range\": [0.001, 31.25]}, \"legend\": null}, \"color\": {\"field\": \"diff\", \"type\": \"quantitative\", \"scale\": {\"scheme\": {\"name\": \"redYellowBlue\", \"extent\": [1, 0]}, \"domainMid\": 0, \"domain\": [-7000, 7000]}, \"legend\": {\"title\": \"Difference from likely operating\", \"titlecolor\": \"white\", \"labelcolor\": \"white\", \"titlefontsize\": 10, \"labelfontsize\": 10, \"direction\": \"horizontal\", \"orient\": \"none\", \"legendx\": -40, \"legendy\": 10, \"gradientLength\": 150, \"gradientThickness\": 15}}, \"order\": {\"field\": \"likelyOperating\", \"type\": \"quantitative\", \"sort\": \"descending\"}}, \"mark\": {\"type\": \"rule\", \"opacity\": 0.8, \"strokeCap\": \"round\"}}, {\"encoding\": {\"x\": {\"field\": \"g79X\", \"type\": \"quantitative\", \"scale\": {\"nice\": false, \"domain\": [0, 6]}, \"axis\": null}, \"y\": {\"field\": \"g79Y\", \"type\": \"quantitative\", \"sort\": \"descending\", \"scale\": {\"nice\": false, \"domain\": [0, 6]}, \"axis\": null}, \"text\": {\"field\": \"regionName\", \"type\": \"nominal\"}}, \"mark\": {\"type\": \"text\", \"color\": \"white\", \"fontsize\": 8, \"dy\": 15}}]}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"config\": {\"view\": {\"stroke\": \"\"}}, \"background\": \"black\", \"title\": {\"text\": \"officeClosed\", \"color\": \"white\", \"offset\": -40, \"anchor\": \"start\", \"fontsize\": 20}, \"width\": 500, \"height\": 500, \"data\": {\"url\": \"https://gicentre.github.io/scrc/data/grid/scotLAsGrid.csv\", \"format\": {\"parse\": {\"g79x\": \"number\", \"g79y\": \"number\"}}}, \"layer\": [{\"encoding\": {\"x\": {\"field\": \"g79X\", \"type\": \"quantitative\", \"scale\": {\"nice\": false, \"domain\": [0, 6]}, \"axis\": null}, \"y\": {\"field\": \"g79Y\", \"type\": \"quantitative\", \"sort\": \"descending\", \"scale\": {\"nice\": false, \"domain\": [0, 6]}, \"axis\": null}}, \"mark\": {\"type\": \"square\", \"stroke\": \"black\", \"strokeWidth\": 2, \"fill\": \"#333\", \"size\": 6944.444444444444}}, {\"data\": {\"url\": \"https://gicentre.github.io/scrc/data/flows/scotLAsFlows.csv\"}, \"transform\": [{\"lookup\": \"source\", \"from\": {\"data\": {\"url\": \"https://gicentre.github.io/scrc/data/grid/scotLAsGrid.csv\", \"format\": {\"parse\": {\"g79x\": \"number\", \"g79y\": \"number\"}}}, \"key\": \"regionCode\", \"fields\": [\"g79X\", \"g79Y\"]}}, {\"calculate\": \"datum.g79X\", \"as\": \"oCol\"}, {\"calculate\": \"datum.g79Y\", \"as\": \"oRow\"}, {\"calculate\": \"datum.oCol-0\", \"as\": \"oX\"}, {\"calculate\": \"datum.oRow-0\", \"as\": \"oY\"}, {\"lookup\": \"dest\", \"from\": {\"data\": {\"url\": \"https://gicentre.github.io/scrc/data/grid/scotLAsGrid.csv\", \"format\": {\"parse\": {\"g79x\": \"number\", \"g79y\": \"number\"}}}, \"key\": \"regionCode\", \"fields\": [\"g79X\", \"g79Y\"]}}, {\"calculate\": \"datum.g79X\", \"as\": \"dCol\"}, {\"calculate\": \"datum.g79Y\", \"as\": \"dRow\"}, {\"calculate\": \"datum.dCol+0\", \"as\": \"dX\"}, {\"calculate\": \"datum.dRow+0\", \"as\": \"dY\"}, {\"filter\": \"datum.oCol != datum.dCol || datum.oRow != datum.dRow\"}, {\"calculate\": \"datum.officeClosed- datum.likelyOperating\", \"as\": \"diff\"}], \"encoding\": {\"x\": {\"field\": \"oX\", \"type\": \"quantitative\", \"scale\": {\"nice\": false, \"domain\": [0, 6]}, \"axis\": null}, \"y\": {\"field\": \"oY\", \"type\": \"quantitative\", \"sort\": \"descending\", \"scale\": {\"nice\": false, \"domain\": [0, 6]}, \"axis\": null}, \"x2\": {\"field\": \"dX\"}, \"y2\": {\"field\": \"dY\"}, \"strokeWidth\": {\"field\": \"total\", \"type\": \"quantitative\", \"scale\": {\"type\": \"linear\", \"range\": [0.001, 31.25]}, \"legend\": null}, \"color\": {\"field\": \"diff\", \"type\": \"quantitative\", \"scale\": {\"scheme\": {\"name\": \"redYellowBlue\", \"extent\": [1, 0]}, \"domainMid\": 0, \"domain\": [-7000, 7000]}, \"legend\": {\"title\": \"Difference from likely operating\", \"titlecolor\": \"white\", \"labelcolor\": \"white\", \"titlefontsize\": 10, \"labelfontsize\": 10, \"direction\": \"horizontal\", \"orient\": \"none\", \"legendx\": -40, \"legendy\": 10, \"gradientLength\": 150, \"gradientThickness\": 15}}, \"order\": {\"field\": \"likelyOperating\", \"type\": \"quantitative\", \"sort\": \"descending\"}}, \"mark\": {\"type\": \"rule\", \"opacity\": 0.8, \"strokeCap\": \"round\"}}, {\"encoding\": {\"x\": {\"field\": \"g79X\", \"type\": \"quantitative\", \"scale\": {\"nice\": false, \"domain\": [0, 6]}, \"axis\": null}, \"y\": {\"field\": \"g79Y\", \"type\": \"quantitative\", \"sort\": \"descending\", \"scale\": {\"nice\": false, \"domain\": [0, 6]}, \"axis\": null}, \"text\": {\"field\": \"regionName\", \"type\": \"nominal\"}}, \"mark\": {\"type\": \"text\", \"color\": \"white\", \"fontsize\": 8, \"dy\": 15}}]}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"config\": {\"view\": {\"stroke\": \"\"}}, \"background\": \"black\", \"title\": {\"text\": \"otherMiddle\", \"color\": \"white\", \"offset\": -40, \"anchor\": \"start\", \"fontsize\": 20}, \"width\": 500, \"height\": 500, \"data\": {\"url\": \"https://gicentre.github.io/scrc/data/grid/scotLAsGrid.csv\", \"format\": {\"parse\": {\"g79x\": \"number\", \"g79y\": \"number\"}}}, \"layer\": [{\"encoding\": {\"x\": {\"field\": \"g79X\", \"type\": \"quantitative\", \"scale\": {\"nice\": false, \"domain\": [0, 6]}, \"axis\": null}, \"y\": {\"field\": \"g79Y\", \"type\": \"quantitative\", \"sort\": \"descending\", \"scale\": {\"nice\": false, \"domain\": [0, 6]}, \"axis\": null}}, \"mark\": {\"type\": \"square\", \"stroke\": \"black\", \"strokeWidth\": 2, \"fill\": \"#333\", \"size\": 6944.444444444444}}, {\"data\": {\"url\": \"https://gicentre.github.io/scrc/data/flows/scotLAsFlows.csv\"}, \"transform\": [{\"lookup\": \"source\", \"from\": {\"data\": {\"url\": \"https://gicentre.github.io/scrc/data/grid/scotLAsGrid.csv\", \"format\": {\"parse\": {\"g79x\": \"number\", \"g79y\": \"number\"}}}, \"key\": \"regionCode\", \"fields\": [\"g79X\", \"g79Y\"]}}, {\"calculate\": \"datum.g79X\", \"as\": \"oCol\"}, {\"calculate\": \"datum.g79Y\", \"as\": \"oRow\"}, {\"calculate\": \"datum.oCol-0.08\", \"as\": \"oX\"}, {\"calculate\": \"datum.oRow-0.04\", \"as\": \"oY\"}, {\"lookup\": \"dest\", \"from\": {\"data\": {\"url\": \"https://gicentre.github.io/scrc/data/grid/scotLAsGrid.csv\", \"format\": {\"parse\": {\"g79x\": \"number\", \"g79y\": \"number\"}}}, \"key\": \"regionCode\", \"fields\": [\"g79X\", \"g79Y\"]}}, {\"calculate\": \"datum.g79X\", \"as\": \"dCol\"}, {\"calculate\": \"datum.g79Y\", \"as\": \"dRow\"}, {\"calculate\": \"datum.dCol+0.08\", \"as\": \"dX\"}, {\"calculate\": \"datum.dRow+0.04\", \"as\": \"dY\"}, {\"filter\": \"datum.oCol != datum.dCol || datum.oRow != datum.dRow\"}, {\"calculate\": \"datum.otherMiddle- datum.likelyOperating\", \"as\": \"diff\"}], \"encoding\": {\"x\": {\"field\": \"oX\", \"type\": \"quantitative\", \"scale\": {\"nice\": false, \"domain\": [0, 6]}, \"axis\": null}, \"y\": {\"field\": \"oY\", \"type\": \"quantitative\", \"sort\": \"descending\", \"scale\": {\"nice\": false, \"domain\": [0, 6]}, \"axis\": null}, \"x2\": {\"field\": \"dX\"}, \"y2\": {\"field\": \"dY\"}, \"strokeWidth\": {\"field\": \"total\", \"type\": \"quantitative\", \"scale\": {\"type\": \"linear\", \"range\": [0.001, 31.25]}, \"legend\": null}, \"color\": {\"field\": \"diff\", \"type\": \"quantitative\", \"scale\": {\"scheme\": {\"name\": \"redYellowBlue\", \"extent\": [1, 0]}, \"domainMid\": 0, \"domain\": [-7000, 7000]}, \"legend\": {\"title\": \"Difference from likely operating\", \"titlecolor\": \"white\", \"labelcolor\": \"white\", \"titlefontsize\": 10, \"labelfontsize\": 10, \"direction\": \"horizontal\", \"orient\": \"none\", \"legendx\": -40, \"legendy\": 10, \"gradientLength\": 150, \"gradientThickness\": 15}}, \"order\": {\"field\": \"likelyOperating\", \"type\": \"quantitative\", \"sort\": \"descending\"}}, \"mark\": {\"type\": \"rule\", \"opacity\": 0.8, \"strokeCap\": \"round\"}}, {\"encoding\": {\"x\": {\"field\": \"g79X\", \"type\": \"quantitative\", \"scale\": {\"nice\": false, \"domain\": [0, 6]}, \"axis\": null}, \"y\": {\"field\": \"g79Y\", \"type\": \"quantitative\", \"sort\": \"descending\", \"scale\": {\"nice\": false, \"domain\": [0, 6]}, \"axis\": null}, \"text\": {\"field\": \"regionName\", \"type\": \"nominal\"}}, \"mark\": {\"type\": \"text\", \"color\": \"white\", \"fontsize\": 8, \"dy\": 15}}]}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"config\": {\"view\": {\"stroke\": \"\"}}, \"background\": \"black\", \"title\": {\"text\": \"officeClosed\", \"color\": \"white\", \"offset\": -40, \"anchor\": \"start\", \"fontsize\": 20}, \"width\": 500, \"height\": 500, \"data\": {\"url\": \"https://gicentre.github.io/scrc/data/grid/scotLAsGrid.csv\", \"format\": {\"parse\": {\"g79x\": \"number\", \"g79y\": \"number\"}}}, \"layer\": [{\"encoding\": {\"x\": {\"field\": \"g79X\", \"type\": \"quantitative\", \"scale\": {\"nice\": false, \"domain\": [0, 6]}, \"axis\": null}, \"y\": {\"field\": \"g79Y\", \"type\": \"quantitative\", \"sort\": \"descending\", \"scale\": {\"nice\": false, \"domain\": [0, 6]}, \"axis\": null}}, \"mark\": {\"type\": \"square\", \"stroke\": \"black\", \"strokeWidth\": 2, \"fill\": \"#333\", \"size\": 6944.444444444444}}, {\"data\": {\"url\": \"https://gicentre.github.io/scrc/data/flows/scotLAsFlows.csv\"}, \"transform\": [{\"lookup\": \"source\", \"from\": {\"data\": {\"url\": \"https://gicentre.github.io/scrc/data/grid/scotLAsGrid.csv\", \"format\": {\"parse\": {\"g79x\": \"number\", \"g79y\": \"number\"}}}, \"key\": \"regionCode\", \"fields\": [\"g79X\", \"g79Y\"]}}, {\"calculate\": \"datum.g79X\", \"as\": \"oCol\"}, {\"calculate\": \"datum.g79Y\", \"as\": \"oRow\"}, {\"calculate\": \"datum.oCol-0.08\", \"as\": \"oX\"}, {\"calculate\": \"datum.oRow-0.04\", \"as\": \"oY\"}, {\"lookup\": \"dest\", \"from\": {\"data\": {\"url\": \"https://gicentre.github.io/scrc/data/grid/scotLAsGrid.csv\", \"format\": {\"parse\": {\"g79x\": \"number\", \"g79y\": \"number\"}}}, \"key\": \"regionCode\", \"fields\": [\"g79X\", \"g79Y\"]}}, {\"calculate\": \"datum.g79X\", \"as\": \"dCol\"}, {\"calculate\": \"datum.g79Y\", \"as\": \"dRow\"}, {\"calculate\": \"datum.dCol+0.08\", \"as\": \"dX\"}, {\"calculate\": \"datum.dRow+0.04\", \"as\": \"dY\"}, {\"filter\": \"datum.oCol != datum.dCol || datum.oRow != datum.dRow\"}, {\"calculate\": \"datum.officeClosed- datum.likelyOperating\", \"as\": \"diff\"}], \"encoding\": {\"x\": {\"field\": \"oX\", \"type\": \"quantitative\", \"scale\": {\"nice\": false, \"domain\": [0, 6]}, \"axis\": null}, \"y\": {\"field\": \"oY\", \"type\": \"quantitative\", \"sort\": \"descending\", \"scale\": {\"nice\": false, \"domain\": [0, 6]}, \"axis\": null}, \"x2\": {\"field\": \"dX\"}, \"y2\": {\"field\": \"dY\"}, \"strokeWidth\": {\"field\": \"total\", \"type\": \"quantitative\", \"scale\": {\"type\": \"linear\", \"range\": [0.001, 31.25]}, \"legend\": null}, \"color\": {\"field\": \"diff\", \"type\": \"quantitative\", \"scale\": {\"scheme\": {\"name\": \"redYellowBlue\", \"extent\": [1, 0]}, \"domainMid\": 0, \"domain\": [-7000, 7000]}, \"legend\": {\"title\": \"Difference from likely operating\", \"titlecolor\": \"white\", \"labelcolor\": \"white\", \"titlefontsize\": 10, \"labelfontsize\": 10, \"direction\": \"horizontal\", \"orient\": \"none\", \"legendx\": -40, \"legendy\": 10, \"gradientLength\": 150, \"gradientThickness\": 15}}, \"order\": {\"field\": \"likelyOperating\", \"type\": \"quantitative\", \"sort\": \"descending\"}}, \"mark\": {\"type\": \"rule\", \"opacity\": 0.8, \"strokeCap\": \"round\"}}, {\"encoding\": {\"x\": {\"field\": \"g79X\", \"type\": \"quantitative\", \"scale\": {\"nice\": false, \"domain\": [0, 6]}, \"axis\": null}, \"y\": {\"field\": \"g79Y\", \"type\": \"quantitative\", \"sort\": \"descending\", \"scale\": {\"nice\": false, \"domain\": [0, 6]}, \"axis\": null}, \"text\": {\"field\": \"regionName\", \"type\": \"nominal\"}}, \"mark\": {\"type\": \"text\", \"color\": \"white\", \"fontsize\": 8, \"dy\": 15}}]}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"config\": {\"view\": {\"stroke\": \"\"}}, \"background\": \"black\", \"title\": {\"text\": \"otherClosed\", \"color\": \"white\", \"offset\": -40, \"anchor\": \"start\", \"fontsize\": 20}, \"width\": 500, \"height\": 500, \"data\": {\"url\": \"https://gicentre.github.io/scrc/data/grid/scotLAsGrid.csv\", \"format\": {\"parse\": {\"g79x\": \"number\", \"g79y\": \"number\"}}}, \"layer\": [{\"encoding\": {\"x\": {\"field\": \"g79X\", \"type\": \"quantitative\", \"scale\": {\"nice\": false, \"domain\": [0, 6]}, \"axis\": null}, \"y\": {\"field\": \"g79Y\", \"type\": \"quantitative\", \"sort\": \"descending\", \"scale\": {\"nice\": false, \"domain\": [0, 6]}, \"axis\": null}}, \"mark\": {\"type\": \"square\", \"stroke\": \"black\", \"strokeWidth\": 2, \"fill\": \"#333\", \"size\": 6944.444444444444}}, {\"data\": {\"url\": \"https://gicentre.github.io/scrc/data/flows/scotLAsFlows.csv\"}, \"transform\": [{\"lookup\": \"source\", \"from\": {\"data\": {\"url\": \"https://gicentre.github.io/scrc/data/grid/scotLAsGrid.csv\", \"format\": {\"parse\": {\"g79x\": \"number\", \"g79y\": \"number\"}}}, \"key\": \"regionCode\", \"fields\": [\"g79X\", \"g79Y\"]}}, {\"calculate\": \"datum.g79X\", \"as\": \"oCol\"}, {\"calculate\": \"datum.g79Y\", \"as\": \"oRow\"}, {\"calculate\": \"datum.oCol-0.08\", \"as\": \"oX\"}, {\"calculate\": \"datum.oRow-0.04\", \"as\": \"oY\"}, {\"lookup\": \"dest\", \"from\": {\"data\": {\"url\": \"https://gicentre.github.io/scrc/data/grid/scotLAsGrid.csv\", \"format\": {\"parse\": {\"g79x\": \"number\", \"g79y\": \"number\"}}}, \"key\": \"regionCode\", \"fields\": [\"g79X\", \"g79Y\"]}}, {\"calculate\": \"datum.g79X\", \"as\": \"dCol\"}, {\"calculate\": \"datum.g79Y\", \"as\": \"dRow\"}, {\"calculate\": \"datum.dCol+0.08\", \"as\": \"dX\"}, {\"calculate\": \"datum.dRow+0.04\", \"as\": \"dY\"}, {\"filter\": \"datum.oCol != datum.dCol || datum.oRow != datum.dRow\"}, {\"calculate\": \"datum.otherClosed- datum.likelyOperating\", \"as\": \"diff\"}], \"encoding\": {\"x\": {\"field\": \"oX\", \"type\": \"quantitative\", \"scale\": {\"nice\": false, \"domain\": [0, 6]}, \"axis\": null}, \"y\": {\"field\": \"oY\", \"type\": \"quantitative\", \"sort\": \"descending\", \"scale\": {\"nice\": false, \"domain\": [0, 6]}, \"axis\": null}, \"x2\": {\"field\": \"dX\"}, \"y2\": {\"field\": \"dY\"}, \"strokeWidth\": {\"field\": \"total\", \"type\": \"quantitative\", \"scale\": {\"type\": \"linear\", \"range\": [0.001, 31.25]}, \"legend\": null}, \"color\": {\"field\": \"diff\", \"type\": \"quantitative\", \"scale\": {\"scheme\": {\"name\": \"redYellowBlue\", \"extent\": [1, 0]}, \"domainMid\": 0, \"domain\": [-7000, 7000]}, \"legend\": {\"title\": \"Difference from likely operating\", \"titlecolor\": \"white\", \"labelcolor\": \"white\", \"titlefontsize\": 10, \"labelfontsize\": 10, \"direction\": \"horizontal\", \"orient\": \"none\", \"legendx\": -40, \"legendy\": 10, \"gradientLength\": 150, \"gradientThickness\": 15}}, \"order\": {\"field\": \"likelyOperating\", \"type\": \"quantitative\", \"sort\": \"descending\"}}, \"mark\": {\"type\": \"rule\", \"opacity\": 0.8, \"strokeCap\": \"round\"}}, {\"encoding\": {\"x\": {\"field\": \"g79X\", \"type\": \"quantitative\", \"scale\": {\"nice\": false, \"domain\": [0, 6]}, \"axis\": null}, \"y\": {\"field\": \"g79Y\", \"type\": \"quantitative\", \"sort\": \"descending\", \"scale\": {\"nice\": false, \"domain\": [0, 6]}, \"axis\": null}, \"text\": {\"field\": \"regionName\", \"type\": \"nominal\"}}, \"mark\": {\"type\": \"text\", \"color\": \"white\", \"fontsize\": 8, \"dy\": 15}}]}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"config\": {\"view\": {\"stroke\": \"\"}}, \"background\": \"#f9f9fc\", \"title\": {\"text\": \"total\", \"fontsize\": 18}, \"width\": 400, \"height\": 400, \"data\": {\"url\": \"https://gicentre.github.io/scrc/data/flows/scotLAsFlows.csv\"}, \"transform\": [{\"lookup\": \"source\", \"from\": {\"data\": {\"url\": \"https://gicentre.github.io/scrc/data/geo/scotLACentroids.csv\"}, \"key\": \"lad17cd\", \"fields\": [\"lad17nm\"]}, \"as\": [\"srcName\"]}, {\"lookup\": \"dest\", \"from\": {\"data\": {\"url\": \"https://gicentre.github.io/scrc/data/geo/scotLACentroids.csv\"}, \"key\": \"lad17cd\", \"fields\": [\"lad17nm\"]}, \"as\": [\"dstName\"]}], \"encoding\": {\"x\": {\"field\": \"srcName\", \"type\": \"ordinal\", \"title\": \"Origin\"}, \"y\": {\"field\": \"dstName\", \"type\": \"ordinal\", \"title\": \"Destination\"}, \"color\": {\"field\": \"total\", \"type\": \"quantitative\", \"scale\": {\"type\": \"symlog\", \"domain\": [0, 60000], \"scheme\": \"yelloworangebrown\"}, \"legend\": {\"tickCount\": 5, \"gradientLength\": 400, \"title\": null}}, \"tooltip\": [{\"field\": \"srcName\", \"type\": \"nominal\", \"title\": \"origin\"}, {\"field\": \"dstName\", \"type\": \"nominal\", \"title\": \"destination\"}, {\"field\": \"total\", \"type\": \"nominal\"}]}, \"mark\": {\"type\": \"rect\", \"stroke\": \"white\", \"strokeWidth\": 2}}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"config\": {\"view\": {\"stroke\": \"\"}}, \"background\": \"#f9f9fc\", \"title\": {\"text\": \"likelyOperating\", \"fontsize\": 18}, \"width\": 400, \"height\": 400, \"data\": {\"url\": \"https://gicentre.github.io/scrc/data/flows/scotLAsFlows.csv\"}, \"transform\": [{\"lookup\": \"source\", \"from\": {\"data\": {\"url\": \"https://gicentre.github.io/scrc/data/geo/scotLACentroids.csv\"}, \"key\": \"lad17cd\", \"fields\": [\"lad17nm\"]}, \"as\": [\"srcName\"]}, {\"lookup\": \"dest\", \"from\": {\"data\": {\"url\": \"https://gicentre.github.io/scrc/data/geo/scotLACentroids.csv\"}, \"key\": \"lad17cd\", \"fields\": [\"lad17nm\"]}, \"as\": [\"dstName\"]}], \"encoding\": {\"x\": {\"field\": \"srcName\", \"type\": \"ordinal\", \"title\": \"Origin\"}, \"y\": {\"field\": \"dstName\", \"type\": \"ordinal\", \"title\": \"Destination\"}, \"color\": {\"field\": \"likelyOperating\", \"type\": \"quantitative\", \"scale\": {\"type\": \"symlog\", \"domain\": [0, 60000], \"scheme\": \"yelloworangebrown\"}, \"legend\": {\"tickCount\": 5, \"gradientLength\": 400, \"title\": null}}, \"tooltip\": [{\"field\": \"srcName\", \"type\": \"nominal\", \"title\": \"origin\"}, {\"field\": \"dstName\", \"type\": \"nominal\", \"title\": \"destination\"}, {\"field\": \"likelyOperating\", \"type\": \"nominal\"}]}, \"mark\": {\"type\": \"rect\", \"stroke\": \"white\", \"strokeWidth\": 2}}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"config\": {\"view\": {\"stroke\": \"\"}}, \"background\": \"#f9f9fc\", \"title\": {\"text\": \"otherMiddle\", \"fontsize\": 18}, \"width\": 400, \"height\": 400, \"data\": {\"url\": \"https://gicentre.github.io/scrc/data/flows/scotLAsFlows.csv\"}, \"transform\": [{\"lookup\": \"source\", \"from\": {\"data\": {\"url\": \"https://gicentre.github.io/scrc/data/geo/scotLACentroids.csv\"}, \"key\": \"lad17cd\", \"fields\": [\"lad17nm\"]}, \"as\": [\"srcName\"]}, {\"lookup\": \"dest\", \"from\": {\"data\": {\"url\": \"https://gicentre.github.io/scrc/data/geo/scotLACentroids.csv\"}, \"key\": \"lad17cd\", \"fields\": [\"lad17nm\"]}, \"as\": [\"dstName\"]}], \"encoding\": {\"x\": {\"field\": \"srcName\", \"type\": \"ordinal\", \"title\": \"Origin\"}, \"y\": {\"field\": \"dstName\", \"type\": \"ordinal\", \"title\": \"Destination\"}, \"color\": {\"field\": \"otherMiddle\", \"type\": \"quantitative\", \"scale\": {\"type\": \"symlog\", \"domain\": [0, 60000], \"scheme\": \"yelloworangebrown\"}, \"legend\": {\"tickCount\": 5, \"gradientLength\": 400, \"title\": null}}, \"tooltip\": [{\"field\": \"srcName\", \"type\": \"nominal\", \"title\": \"origin\"}, {\"field\": \"dstName\", \"type\": \"nominal\", \"title\": \"destination\"}, {\"field\": \"otherMiddle\", \"type\": \"nominal\"}]}, \"mark\": {\"type\": \"rect\", \"stroke\": \"white\", \"strokeWidth\": 2}}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"config\": {\"view\": {\"stroke\": \"\"}}, \"background\": \"#f9f9fc\", \"title\": {\"text\": \"officeClosed\", \"fontsize\": 18}, \"width\": 400, \"height\": 400, \"data\": {\"url\": \"https://gicentre.github.io/scrc/data/flows/scotLAsFlows.csv\"}, \"transform\": [{\"lookup\": \"source\", \"from\": {\"data\": {\"url\": \"https://gicentre.github.io/scrc/data/geo/scotLACentroids.csv\"}, \"key\": \"lad17cd\", \"fields\": [\"lad17nm\"]}, \"as\": [\"srcName\"]}, {\"lookup\": \"dest\", \"from\": {\"data\": {\"url\": \"https://gicentre.github.io/scrc/data/geo/scotLACentroids.csv\"}, \"key\": \"lad17cd\", \"fields\": [\"lad17nm\"]}, \"as\": [\"dstName\"]}], \"encoding\": {\"x\": {\"field\": \"srcName\", \"type\": \"ordinal\", \"title\": \"Origin\"}, \"y\": {\"field\": \"dstName\", \"type\": \"ordinal\", \"title\": \"Destination\"}, \"color\": {\"field\": \"officeClosed\", \"type\": \"quantitative\", \"scale\": {\"type\": \"symlog\", \"domain\": [0, 60000], \"scheme\": \"yelloworangebrown\"}, \"legend\": {\"tickCount\": 5, \"gradientLength\": 400, \"title\": null}}, \"tooltip\": [{\"field\": \"srcName\", \"type\": \"nominal\", \"title\": \"origin\"}, {\"field\": \"dstName\", \"type\": \"nominal\", \"title\": \"destination\"}, {\"field\": \"officeClosed\", \"type\": \"nominal\"}]}, \"mark\": {\"type\": \"rect\", \"stroke\": \"white\", \"strokeWidth\": 2}}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"config\": {\"view\": {\"stroke\": \"\"}}, \"background\": \"#f9f9fc\", \"title\": {\"text\": \"otherClosed\", \"fontsize\": 18}, \"width\": 400, \"height\": 400, \"data\": {\"url\": \"https://gicentre.github.io/scrc/data/flows/scotLAsFlows.csv\"}, \"transform\": [{\"lookup\": \"source\", \"from\": {\"data\": {\"url\": \"https://gicentre.github.io/scrc/data/geo/scotLACentroids.csv\"}, \"key\": \"lad17cd\", \"fields\": [\"lad17nm\"]}, \"as\": [\"srcName\"]}, {\"lookup\": \"dest\", \"from\": {\"data\": {\"url\": \"https://gicentre.github.io/scrc/data/geo/scotLACentroids.csv\"}, \"key\": \"lad17cd\", \"fields\": [\"lad17nm\"]}, \"as\": [\"dstName\"]}], \"encoding\": {\"x\": {\"field\": \"srcName\", \"type\": \"ordinal\", \"title\": \"Origin\"}, \"y\": {\"field\": \"dstName\", \"type\": \"ordinal\", \"title\": \"Destination\"}, \"color\": {\"field\": \"otherClosed\", \"type\": \"quantitative\", \"scale\": {\"type\": \"symlog\", \"domain\": [0, 60000], \"scheme\": \"yelloworangebrown\"}, \"legend\": {\"tickCount\": 5, \"gradientLength\": 400, \"title\": null}}, \"tooltip\": [{\"field\": \"srcName\", \"type\": \"nominal\", \"title\": \"origin\"}, {\"field\": \"dstName\", \"type\": \"nominal\", \"title\": \"destination\"}, {\"field\": \"otherClosed\", \"type\": \"nominal\"}]}, \"mark\": {\"type\": \"rect\", \"stroke\": \"white\", \"strokeWidth\": 2}}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"config\": {\"view\": {\"stroke\": \"\"}, \"header\": {\"labelfontsize\": 0, \"title\": null}, \"facet\": {\"spacing\": 5}}, \"title\": {\"text\": \"Outgoing flows\"}, \"background\": \"#f9f9fc\", \"data\": {\"url\": \"https://gicentre.github.io/scrc/data/flows/scotLAsFlows.csv\"}, \"transform\": [{\"lookup\": \"source\", \"from\": {\"data\": {\"url\": \"https://gicentre.github.io/scrc/data/grid/scotLAsGrid.csv\"}, \"key\": \"regionCode\", \"fields\": [\"g79X\", \"g79Y\", \"regionName\"]}, \"as\": [\"oCol\", \"oRow\", \"oName\"]}, {\"lookup\": \"dest\", \"from\": {\"data\": {\"url\": \"https://gicentre.github.io/scrc/data/grid/scotLAsGrid.csv\"}, \"key\": \"regionCode\", \"fields\": [\"g79X\", \"g79Y\", \"regionName\"]}, \"as\": [\"dCol\", \"dRow\", \"dName\"]}], \"resolve\": {\"scale\": {\"color\": \"shared\"}}, \"facet\": {\"row\": {\"field\": \"oRow\", \"type\": \"ordinal\"}, \"column\": {\"field\": \"oCol\", \"type\": \"ordinal\"}}, \"spec\": {\"width\": 80, \"height\": 80, \"layer\": [{\"encoding\": {\"x\": {\"field\": \"dCol\", \"type\": \"quantitative\", \"scale\": {\"nice\": false, \"domain\": [-1, 7]}, \"axis\": null}, \"y\": {\"field\": \"dRow\", \"type\": \"quantitative\", \"sort\": \"descending\", \"scale\": {\"nice\": false, \"domain\": [0, 8]}, \"axis\": null}, \"color\": {\"field\": \"total\", \"type\": \"quantitative\", \"scale\": {\"type\": \"symlog\", \"scheme\": {\"name\": \"yelloworangebrown\", \"extent\": [0, 1.2]}}, \"legend\": {\"gradientLength\": 96, \"gradientThickness\": 8, \"titlefontsize\": 8, \"labelfontsize\": 8, \"orient\": \"top-left\", \"direction\": \"horizontal\", \"offset\": -8}}, \"tooltip\": [{\"field\": \"oName\", \"type\": \"nominal\", \"title\": \"origin\"}, {\"field\": \"dName\", \"type\": \"nominal\", \"title\": \"destination\"}, {\"field\": \"total\", \"type\": \"nominal\"}]}, \"mark\": {\"type\": \"square\", \"size\": 79.01234567901234, \"opacity\": 1}}, {\"data\": {\"url\": \"https://gicentre.github.io/scrc/data/grid/scotLAsGrid.csv\"}, \"encoding\": {\"x\": {\"field\": \"g79X\", \"type\": \"quantitative\", \"scale\": {\"nice\": false, \"domain\": [-1, 7]}, \"axis\": null}, \"y\": {\"field\": \"g79Y\", \"type\": \"quantitative\", \"sort\": \"descending\", \"scale\": {\"nice\": false, \"domain\": [0, 8]}, \"axis\": null}}, \"mark\": {\"type\": \"square\", \"fill\": null, \"stroke\": \"black\", \"size\": 63.20987654320987, \"strokeWidth\": 0.2}}, {\"data\": {\"values\": [{\"cCol\": 3, \"cRow\": 4}]}, \"encoding\": {\"x\": {\"field\": \"cCol\", \"type\": \"quantitative\"}, \"y\": {\"field\": \"cRow\", \"type\": \"quantitative\"}}, \"mark\": {\"type\": \"square\", \"size\": 9560.493827160493, \"fill\": null, \"stroke\": \"black\", \"strokeWidth\": 0.5}}]}}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"config\": {\"view\": {\"stroke\": \"\"}, \"header\": {\"labelfontsize\": 0, \"title\": null}, \"facet\": {\"spacing\": 5}}, \"title\": {\"text\": \"Incoming flows\"}, \"background\": \"#f9f9fc\", \"data\": {\"url\": \"https://gicentre.github.io/scrc/data/flows/scotLAsFlows.csv\"}, \"transform\": [{\"lookup\": \"source\", \"from\": {\"data\": {\"url\": \"https://gicentre.github.io/scrc/data/grid/scotLAsGrid.csv\"}, \"key\": \"regionCode\", \"fields\": [\"g79X\", \"g79Y\", \"regionName\"]}, \"as\": [\"oCol\", \"oRow\", \"oName\"]}, {\"lookup\": \"dest\", \"from\": {\"data\": {\"url\": \"https://gicentre.github.io/scrc/data/grid/scotLAsGrid.csv\"}, \"key\": \"regionCode\", \"fields\": [\"g79X\", \"g79Y\", \"regionName\"]}, \"as\": [\"dCol\", \"dRow\", \"dName\"]}], \"resolve\": {\"scale\": {\"color\": \"shared\"}}, \"facet\": {\"row\": {\"field\": \"dRow\", \"type\": \"ordinal\"}, \"column\": {\"field\": \"dCol\", \"type\": \"ordinal\"}}, \"spec\": {\"width\": 80, \"height\": 80, \"layer\": [{\"encoding\": {\"x\": {\"field\": \"oCol\", \"type\": \"quantitative\", \"scale\": {\"nice\": false, \"domain\": [-1, 7]}, \"axis\": null}, \"y\": {\"field\": \"oRow\", \"type\": \"quantitative\", \"sort\": \"descending\", \"scale\": {\"nice\": false, \"domain\": [0, 8]}, \"axis\": null}, \"color\": {\"field\": \"total\", \"type\": \"quantitative\", \"scale\": {\"type\": \"symlog\", \"scheme\": {\"name\": \"yelloworangebrown\", \"extent\": [0, 1.2]}}, \"legend\": {\"gradientLength\": 96, \"gradientThickness\": 8, \"titlefontsize\": 8, \"labelfontsize\": 8, \"orient\": \"top-left\", \"direction\": \"horizontal\", \"offset\": -8}}, \"tooltip\": [{\"field\": \"oName\", \"type\": \"nominal\", \"title\": \"origin\"}, {\"field\": \"dName\", \"type\": \"nominal\", \"title\": \"destination\"}, {\"field\": \"total\", \"type\": \"nominal\"}]}, \"mark\": {\"type\": \"square\", \"size\": 79.01234567901234, \"opacity\": 1}}, {\"data\": {\"url\": \"https://gicentre.github.io/scrc/data/grid/scotLAsGrid.csv\"}, \"encoding\": {\"x\": {\"field\": \"g79X\", \"type\": \"quantitative\", \"scale\": {\"nice\": false, \"domain\": [-1, 7]}, \"axis\": null}, \"y\": {\"field\": \"g79Y\", \"type\": \"quantitative\", \"sort\": \"descending\", \"scale\": {\"nice\": false, \"domain\": [0, 8]}, \"axis\": null}}, \"mark\": {\"type\": \"square\", \"fill\": null, \"stroke\": \"black\", \"size\": 63.20987654320987, \"strokeWidth\": 0.2}}, {\"data\": {\"values\": [{\"cCol\": 3, \"cRow\": 4}]}, \"encoding\": {\"x\": {\"field\": \"cCol\", \"type\": \"quantitative\"}, \"y\": {\"field\": \"cRow\", \"type\": \"quantitative\"}}, \"mark\": {\"type\": \"square\", \"size\": 9560.493827160493, \"fill\": null, \"stroke\": \"black\", \"strokeWidth\": 0.5}}]}}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"config\": {\"view\": {\"stroke\": \"\"}, \"header\": {\"labelfontsize\": 0, \"title\": null}, \"facet\": {\"spacing\": 5}}, \"title\": {\"text\": \"Outgoing flows\"}, \"background\": \"#f9f9fc\", \"data\": {\"url\": \"https://gicentre.github.io/scrc/data/flows/scotLAsFlows.csv\"}, \"transform\": [{\"lookup\": \"source\", \"from\": {\"data\": {\"url\": \"https://gicentre.github.io/scrc/data/grid/scotLAsGrid.csv\"}, \"key\": \"regionCode\", \"fields\": [\"g79X\", \"g79Y\", \"regionName\"]}, \"as\": [\"oCol\", \"oRow\", \"oName\"]}, {\"lookup\": \"dest\", \"from\": {\"data\": {\"url\": \"https://gicentre.github.io/scrc/data/grid/scotLAsGrid.csv\"}, \"key\": \"regionCode\", \"fields\": [\"g79X\", \"g79Y\", \"regionName\"]}, \"as\": [\"dCol\", \"dRow\", \"dName\"]}], \"resolve\": {\"scale\": {\"color\": \"shared\"}}, \"facet\": {\"row\": {\"field\": \"oRow\", \"type\": \"ordinal\"}, \"column\": {\"field\": \"oCol\", \"type\": \"ordinal\"}}, \"spec\": {\"width\": 80, \"height\": 80, \"layer\": [{\"encoding\": {\"x\": {\"field\": \"dCol\", \"type\": \"quantitative\", \"scale\": {\"nice\": false, \"domain\": [-1, 7]}, \"axis\": null}, \"y\": {\"field\": \"dRow\", \"type\": \"quantitative\", \"sort\": \"descending\", \"scale\": {\"nice\": false, \"domain\": [0, 8]}, \"axis\": null}, \"color\": {\"field\": \"diffOtMi_LiOp\", \"type\": \"quantitative\", \"scale\": {\"domain\": [-7000, 7000], \"domainMid\": 0, \"type\": \"linear\", \"scheme\": {\"name\": \"redYellowBlue\", \"extent\": [1, 0]}}, \"legend\": {\"gradientLength\": 96, \"gradientThickness\": 8, \"titlefontsize\": 8, \"labelfontsize\": 8, \"orient\": \"top-left\", \"direction\": \"horizontal\", \"offset\": -8}}, \"tooltip\": [{\"field\": \"oName\", \"type\": \"nominal\", \"title\": \"origin\"}, {\"field\": \"dName\", \"type\": \"nominal\", \"title\": \"destination\"}, {\"field\": \"diffOtMi_LiOp\", \"type\": \"nominal\"}]}, \"mark\": {\"type\": \"square\", \"size\": 79.01234567901234, \"opacity\": 1}}, {\"data\": {\"url\": \"https://gicentre.github.io/scrc/data/grid/scotLAsGrid.csv\"}, \"encoding\": {\"x\": {\"field\": \"g79X\", \"type\": \"quantitative\", \"scale\": {\"nice\": false, \"domain\": [-1, 7]}, \"axis\": null}, \"y\": {\"field\": \"g79Y\", \"type\": \"quantitative\", \"sort\": \"descending\", \"scale\": {\"nice\": false, \"domain\": [0, 8]}, \"axis\": null}}, \"mark\": {\"type\": \"square\", \"fill\": null, \"stroke\": \"black\", \"size\": 63.20987654320987, \"strokeWidth\": 0.2}}, {\"data\": {\"values\": [{\"cCol\": 3, \"cRow\": 4}]}, \"encoding\": {\"x\": {\"field\": \"cCol\", \"type\": \"quantitative\"}, \"y\": {\"field\": \"cRow\", \"type\": \"quantitative\"}}, \"mark\": {\"type\": \"square\", \"size\": 9560.493827160493, \"fill\": null, \"stroke\": \"black\", \"strokeWidth\": 0.5}}]}}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"config\": {\"view\": {\"stroke\": \"\"}, \"header\": {\"labelfontsize\": 0, \"title\": null}, \"facet\": {\"spacing\": 5}}, \"title\": {\"text\": \"Incoming flows\"}, \"background\": \"#f9f9fc\", \"data\": {\"url\": \"https://gicentre.github.io/scrc/data/flows/scotLAsFlows.csv\"}, \"transform\": [{\"lookup\": \"source\", \"from\": {\"data\": {\"url\": \"https://gicentre.github.io/scrc/data/grid/scotLAsGrid.csv\"}, \"key\": \"regionCode\", \"fields\": [\"g79X\", \"g79Y\", \"regionName\"]}, \"as\": [\"oCol\", \"oRow\", \"oName\"]}, {\"lookup\": \"dest\", \"from\": {\"data\": {\"url\": \"https://gicentre.github.io/scrc/data/grid/scotLAsGrid.csv\"}, \"key\": \"regionCode\", \"fields\": [\"g79X\", \"g79Y\", \"regionName\"]}, \"as\": [\"dCol\", \"dRow\", \"dName\"]}], \"resolve\": {\"scale\": {\"color\": \"shared\"}}, \"facet\": {\"row\": {\"field\": \"dRow\", \"type\": \"ordinal\"}, \"column\": {\"field\": \"dCol\", \"type\": \"ordinal\"}}, \"spec\": {\"width\": 80, \"height\": 80, \"layer\": [{\"encoding\": {\"x\": {\"field\": \"oCol\", \"type\": \"quantitative\", \"scale\": {\"nice\": false, \"domain\": [-1, 7]}, \"axis\": null}, \"y\": {\"field\": \"oRow\", \"type\": \"quantitative\", \"sort\": \"descending\", \"scale\": {\"nice\": false, \"domain\": [0, 8]}, \"axis\": null}, \"color\": {\"field\": \"diffOtMi_LiOp\", \"type\": \"quantitative\", \"scale\": {\"domain\": [-7000, 7000], \"domainMid\": 0, \"type\": \"linear\", \"scheme\": {\"name\": \"redYellowBlue\", \"extent\": [1, 0]}}, \"legend\": {\"gradientLength\": 96, \"gradientThickness\": 8, \"titlefontsize\": 8, \"labelfontsize\": 8, \"orient\": \"top-left\", \"direction\": \"horizontal\", \"offset\": -8}}, \"tooltip\": [{\"field\": \"oName\", \"type\": \"nominal\", \"title\": \"origin\"}, {\"field\": \"dName\", \"type\": \"nominal\", \"title\": \"destination\"}, {\"field\": \"diffOtMi_LiOp\", \"type\": \"nominal\"}]}, \"mark\": {\"type\": \"square\", \"size\": 79.01234567901234, \"opacity\": 1}}, {\"data\": {\"url\": \"https://gicentre.github.io/scrc/data/grid/scotLAsGrid.csv\"}, \"encoding\": {\"x\": {\"field\": \"g79X\", \"type\": \"quantitative\", \"scale\": {\"nice\": false, \"domain\": [-1, 7]}, \"axis\": null}, \"y\": {\"field\": \"g79Y\", \"type\": \"quantitative\", \"sort\": \"descending\", \"scale\": {\"nice\": false, \"domain\": [0, 8]}, \"axis\": null}}, \"mark\": {\"type\": \"square\", \"fill\": null, \"stroke\": \"black\", \"size\": 63.20987654320987, \"strokeWidth\": 0.2}}, {\"data\": {\"values\": [{\"cCol\": 3, \"cRow\": 4}]}, \"encoding\": {\"x\": {\"field\": \"cCol\", \"type\": \"quantitative\"}, \"y\": {\"field\": \"cRow\", \"type\": \"quantitative\"}}, \"mark\": {\"type\": \"square\", \"size\": 9560.493827160493, \"fill\": null, \"stroke\": \"black\", \"strokeWidth\": 0.5}}]}}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"config\": {\"view\": {\"stroke\": \"\"}, \"header\": {\"labelfontsize\": 0, \"title\": null}, \"facet\": {\"spacing\": 5}}, \"title\": {\"text\": \"Outgoing flows\"}, \"background\": \"#f9f9fc\", \"data\": {\"url\": \"https://gicentre.github.io/scrc/data/flows/scotLAsFlows.csv\"}, \"transform\": [{\"lookup\": \"source\", \"from\": {\"data\": {\"url\": \"https://gicentre.github.io/scrc/data/grid/scotLAsGrid.csv\"}, \"key\": \"regionCode\", \"fields\": [\"g79X\", \"g79Y\", \"regionName\"]}, \"as\": [\"oCol\", \"oRow\", \"oName\"]}, {\"lookup\": \"dest\", \"from\": {\"data\": {\"url\": \"https://gicentre.github.io/scrc/data/grid/scotLAsGrid.csv\"}, \"key\": \"regionCode\", \"fields\": [\"g79X\", \"g79Y\", \"regionName\"]}, \"as\": [\"dCol\", \"dRow\", \"dName\"]}], \"resolve\": {\"scale\": {\"color\": \"shared\"}}, \"facet\": {\"row\": {\"field\": \"oRow\", \"type\": \"ordinal\"}, \"column\": {\"field\": \"oCol\", \"type\": \"ordinal\"}}, \"spec\": {\"width\": 80, \"height\": 80, \"layer\": [{\"encoding\": {\"x\": {\"field\": \"dCol\", \"type\": \"quantitative\", \"scale\": {\"nice\": false, \"domain\": [-1, 7]}, \"axis\": null}, \"y\": {\"field\": \"dRow\", \"type\": \"quantitative\", \"sort\": \"descending\", \"scale\": {\"nice\": false, \"domain\": [0, 8]}, \"axis\": null}, \"color\": {\"field\": \"diffOfCl_LiOp\", \"type\": \"quantitative\", \"scale\": {\"domain\": [-7000, 7000], \"domainMid\": 0, \"type\": \"linear\", \"scheme\": {\"name\": \"redYellowBlue\", \"extent\": [1, 0]}}, \"legend\": {\"gradientLength\": 96, \"gradientThickness\": 8, \"titlefontsize\": 8, \"labelfontsize\": 8, \"orient\": \"top-left\", \"direction\": \"horizontal\", \"offset\": -8}}, \"tooltip\": [{\"field\": \"oName\", \"type\": \"nominal\", \"title\": \"origin\"}, {\"field\": \"dName\", \"type\": \"nominal\", \"title\": \"destination\"}, {\"field\": \"diffOfCl_LiOp\", \"type\": \"nominal\"}]}, \"mark\": {\"type\": \"square\", \"size\": 79.01234567901234, \"opacity\": 1}}, {\"data\": {\"url\": \"https://gicentre.github.io/scrc/data/grid/scotLAsGrid.csv\"}, \"encoding\": {\"x\": {\"field\": \"g79X\", \"type\": \"quantitative\", \"scale\": {\"nice\": false, \"domain\": [-1, 7]}, \"axis\": null}, \"y\": {\"field\": \"g79Y\", \"type\": \"quantitative\", \"sort\": \"descending\", \"scale\": {\"nice\": false, \"domain\": [0, 8]}, \"axis\": null}}, \"mark\": {\"type\": \"square\", \"fill\": null, \"stroke\": \"black\", \"size\": 63.20987654320987, \"strokeWidth\": 0.2}}, {\"data\": {\"values\": [{\"cCol\": 3, \"cRow\": 4}]}, \"encoding\": {\"x\": {\"field\": \"cCol\", \"type\": \"quantitative\"}, \"y\": {\"field\": \"cRow\", \"type\": \"quantitative\"}}, \"mark\": {\"type\": \"square\", \"size\": 9560.493827160493, \"fill\": null, \"stroke\": \"black\", \"strokeWidth\": 0.5}}]}}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"config\": {\"view\": {\"stroke\": \"\"}, \"header\": {\"labelfontsize\": 0, \"title\": null}, \"facet\": {\"spacing\": 5}}, \"title\": {\"text\": \"Incoming flows\"}, \"background\": \"#f9f9fc\", \"data\": {\"url\": \"https://gicentre.github.io/scrc/data/flows/scotLAsFlows.csv\"}, \"transform\": [{\"lookup\": \"source\", \"from\": {\"data\": {\"url\": \"https://gicentre.github.io/scrc/data/grid/scotLAsGrid.csv\"}, \"key\": \"regionCode\", \"fields\": [\"g79X\", \"g79Y\", \"regionName\"]}, \"as\": [\"oCol\", \"oRow\", \"oName\"]}, {\"lookup\": \"dest\", \"from\": {\"data\": {\"url\": \"https://gicentre.github.io/scrc/data/grid/scotLAsGrid.csv\"}, \"key\": \"regionCode\", \"fields\": [\"g79X\", \"g79Y\", \"regionName\"]}, \"as\": [\"dCol\", \"dRow\", \"dName\"]}], \"resolve\": {\"scale\": {\"color\": \"shared\"}}, \"facet\": {\"row\": {\"field\": \"dRow\", \"type\": \"ordinal\"}, \"column\": {\"field\": \"dCol\", \"type\": \"ordinal\"}}, \"spec\": {\"width\": 80, \"height\": 80, \"layer\": [{\"encoding\": {\"x\": {\"field\": \"oCol\", \"type\": \"quantitative\", \"scale\": {\"nice\": false, \"domain\": [-1, 7]}, \"axis\": null}, \"y\": {\"field\": \"oRow\", \"type\": \"quantitative\", \"sort\": \"descending\", \"scale\": {\"nice\": false, \"domain\": [0, 8]}, \"axis\": null}, \"color\": {\"field\": \"diffOfCl_LiOp\", \"type\": \"quantitative\", \"scale\": {\"domain\": [-7000, 7000], \"domainMid\": 0, \"type\": \"linear\", \"scheme\": {\"name\": \"redYellowBlue\", \"extent\": [1, 0]}}, \"legend\": {\"gradientLength\": 96, \"gradientThickness\": 8, \"titlefontsize\": 8, \"labelfontsize\": 8, \"orient\": \"top-left\", \"direction\": \"horizontal\", \"offset\": -8}}, \"tooltip\": [{\"field\": \"oName\", \"type\": \"nominal\", \"title\": \"origin\"}, {\"field\": \"dName\", \"type\": \"nominal\", \"title\": \"destination\"}, {\"field\": \"diffOfCl_LiOp\", \"type\": \"nominal\"}]}, \"mark\": {\"type\": \"square\", \"size\": 79.01234567901234, \"opacity\": 1}}, {\"data\": {\"url\": \"https://gicentre.github.io/scrc/data/grid/scotLAsGrid.csv\"}, \"encoding\": {\"x\": {\"field\": \"g79X\", \"type\": \"quantitative\", \"scale\": {\"nice\": false, \"domain\": [-1, 7]}, \"axis\": null}, \"y\": {\"field\": \"g79Y\", \"type\": \"quantitative\", \"sort\": \"descending\", \"scale\": {\"nice\": false, \"domain\": [0, 8]}, \"axis\": null}}, \"mark\": {\"type\": \"square\", \"fill\": null, \"stroke\": \"black\", \"size\": 63.20987654320987, \"strokeWidth\": 0.2}}, {\"data\": {\"values\": [{\"cCol\": 3, \"cRow\": 4}]}, \"encoding\": {\"x\": {\"field\": \"cCol\", \"type\": \"quantitative\"}, \"y\": {\"field\": \"cRow\", \"type\": \"quantitative\"}}, \"mark\": {\"type\": \"square\", \"size\": 9560.493827160493, \"fill\": null, \"stroke\": \"black\", \"strokeWidth\": 0.5}}]}}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"config\": {\"view\": {\"stroke\": \"\"}, \"header\": {\"labelfontsize\": 0, \"title\": null}, \"facet\": {\"spacing\": 5}}, \"title\": {\"text\": \"Outgoing flows\"}, \"background\": \"#f9f9fc\", \"data\": {\"url\": \"https://gicentre.github.io/scrc/data/flows/scotLAsFlows.csv\"}, \"transform\": [{\"lookup\": \"source\", \"from\": {\"data\": {\"url\": \"https://gicentre.github.io/scrc/data/grid/scotLAsGrid.csv\"}, \"key\": \"regionCode\", \"fields\": [\"g79X\", \"g79Y\", \"regionName\"]}, \"as\": [\"oCol\", \"oRow\", \"oName\"]}, {\"lookup\": \"dest\", \"from\": {\"data\": {\"url\": \"https://gicentre.github.io/scrc/data/grid/scotLAsGrid.csv\"}, \"key\": \"regionCode\", \"fields\": [\"g79X\", \"g79Y\", \"regionName\"]}, \"as\": [\"dCol\", \"dRow\", \"dName\"]}], \"resolve\": {\"scale\": {\"color\": \"shared\"}}, \"facet\": {\"row\": {\"field\": \"oRow\", \"type\": \"ordinal\"}, \"column\": {\"field\": \"oCol\", \"type\": \"ordinal\"}}, \"spec\": {\"width\": 80, \"height\": 80, \"layer\": [{\"encoding\": {\"x\": {\"field\": \"dCol\", \"type\": \"quantitative\", \"scale\": {\"nice\": false, \"domain\": [-1, 7]}, \"axis\": null}, \"y\": {\"field\": \"dRow\", \"type\": \"quantitative\", \"sort\": \"descending\", \"scale\": {\"nice\": false, \"domain\": [0, 8]}, \"axis\": null}, \"color\": {\"field\": \"diffOtCl_LiOp\", \"type\": \"quantitative\", \"scale\": {\"domain\": [-7000, 7000], \"domainMid\": 0, \"type\": \"linear\", \"scheme\": {\"name\": \"redYellowBlue\", \"extent\": [1, 0]}}, \"legend\": {\"gradientLength\": 96, \"gradientThickness\": 8, \"titlefontsize\": 8, \"labelfontsize\": 8, \"orient\": \"top-left\", \"direction\": \"horizontal\", \"offset\": -8}}, \"tooltip\": [{\"field\": \"oName\", \"type\": \"nominal\", \"title\": \"origin\"}, {\"field\": \"dName\", \"type\": \"nominal\", \"title\": \"destination\"}, {\"field\": \"diffOtCl_LiOp\", \"type\": \"nominal\"}]}, \"mark\": {\"type\": \"square\", \"size\": 79.01234567901234, \"opacity\": 1}}, {\"data\": {\"url\": \"https://gicentre.github.io/scrc/data/grid/scotLAsGrid.csv\"}, \"encoding\": {\"x\": {\"field\": \"g79X\", \"type\": \"quantitative\", \"scale\": {\"nice\": false, \"domain\": [-1, 7]}, \"axis\": null}, \"y\": {\"field\": \"g79Y\", \"type\": \"quantitative\", \"sort\": \"descending\", \"scale\": {\"nice\": false, \"domain\": [0, 8]}, \"axis\": null}}, \"mark\": {\"type\": \"square\", \"fill\": null, \"stroke\": \"black\", \"size\": 63.20987654320987, \"strokeWidth\": 0.2}}, {\"data\": {\"values\": [{\"cCol\": 3, \"cRow\": 4}]}, \"encoding\": {\"x\": {\"field\": \"cCol\", \"type\": \"quantitative\"}, \"y\": {\"field\": \"cRow\", \"type\": \"quantitative\"}}, \"mark\": {\"type\": \"square\", \"size\": 9560.493827160493, \"fill\": null, \"stroke\": \"black\", \"strokeWidth\": 0.5}}]}}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"config\": {\"view\": {\"stroke\": \"\"}, \"header\": {\"labelfontsize\": 0, \"title\": null}, \"facet\": {\"spacing\": 5}}, \"title\": {\"text\": \"Incoming flows\"}, \"background\": \"#f9f9fc\", \"data\": {\"url\": \"https://gicentre.github.io/scrc/data/flows/scotLAsFlows.csv\"}, \"transform\": [{\"lookup\": \"source\", \"from\": {\"data\": {\"url\": \"https://gicentre.github.io/scrc/data/grid/scotLAsGrid.csv\"}, \"key\": \"regionCode\", \"fields\": [\"g79X\", \"g79Y\", \"regionName\"]}, \"as\": [\"oCol\", \"oRow\", \"oName\"]}, {\"lookup\": \"dest\", \"from\": {\"data\": {\"url\": \"https://gicentre.github.io/scrc/data/grid/scotLAsGrid.csv\"}, \"key\": \"regionCode\", \"fields\": [\"g79X\", \"g79Y\", \"regionName\"]}, \"as\": [\"dCol\", \"dRow\", \"dName\"]}], \"resolve\": {\"scale\": {\"color\": \"shared\"}}, \"facet\": {\"row\": {\"field\": \"dRow\", \"type\": \"ordinal\"}, \"column\": {\"field\": \"dCol\", \"type\": \"ordinal\"}}, \"spec\": {\"width\": 80, \"height\": 80, \"layer\": [{\"encoding\": {\"x\": {\"field\": \"oCol\", \"type\": \"quantitative\", \"scale\": {\"nice\": false, \"domain\": [-1, 7]}, \"axis\": null}, \"y\": {\"field\": \"oRow\", \"type\": \"quantitative\", \"sort\": \"descending\", \"scale\": {\"nice\": false, \"domain\": [0, 8]}, \"axis\": null}, \"color\": {\"field\": \"diffOtCl_LiOp\", \"type\": \"quantitative\", \"scale\": {\"domain\": [-7000, 7000], \"domainMid\": 0, \"type\": \"linear\", \"scheme\": {\"name\": \"redYellowBlue\", \"extent\": [1, 0]}}, \"legend\": {\"gradientLength\": 96, \"gradientThickness\": 8, \"titlefontsize\": 8, \"labelfontsize\": 8, \"orient\": \"top-left\", \"direction\": \"horizontal\", \"offset\": -8}}, \"tooltip\": [{\"field\": \"oName\", \"type\": \"nominal\", \"title\": \"origin\"}, {\"field\": \"dName\", \"type\": \"nominal\", \"title\": \"destination\"}, {\"field\": \"diffOtCl_LiOp\", \"type\": \"nominal\"}]}, \"mark\": {\"type\": \"square\", \"size\": 79.01234567901234, \"opacity\": 1}}, {\"data\": {\"url\": \"https://gicentre.github.io/scrc/data/grid/scotLAsGrid.csv\"}, \"encoding\": {\"x\": {\"field\": \"g79X\", \"type\": \"quantitative\", \"scale\": {\"nice\": false, \"domain\": [-1, 7]}, \"axis\": null}, \"y\": {\"field\": \"g79Y\", \"type\": \"quantitative\", \"sort\": \"descending\", \"scale\": {\"nice\": false, \"domain\": [0, 8]}, \"axis\": null}}, \"mark\": {\"type\": \"square\", \"fill\": null, \"stroke\": \"black\", \"size\": 63.20987654320987, \"strokeWidth\": 0.2}}, {\"data\": {\"values\": [{\"cCol\": 3, \"cRow\": 4}]}, \"encoding\": {\"x\": {\"field\": \"cCol\", \"type\": \"quantitative\"}, \"y\": {\"field\": \"cRow\", \"type\": \"quantitative\"}}, \"mark\": {\"type\": \"square\", \"size\": 9560.493827160493, \"fill\": null, \"stroke\": \"black\", \"strokeWidth\": 0.5}}]}}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"config\": {\"view\": {\"stroke\": \"\"}}, \"background\": \"#f9f9fc\", \"title\": {\"text\": \"total\", \"offset\": -40, \"anchor\": \"start\", \"fontsize\": 18}, \"width\": 500, \"height\": 500, \"data\": {\"url\": \"https://gicentre.github.io/scrc/data/grid/scotLAsGrid.csv\", \"format\": {\"parse\": {\"g79x\": \"number\", \"g79y\": \"number\"}}}, \"layer\": [{\"encoding\": {\"x\": {\"field\": \"g79X\", \"type\": \"quantitative\", \"scale\": {\"nice\": false, \"domain\": [0, 6]}, \"axis\": null}, \"y\": {\"field\": \"g79Y\", \"type\": \"quantitative\", \"sort\": \"descending\", \"scale\": {\"nice\": false, \"domain\": [0, 6]}, \"axis\": null}}, \"mark\": {\"type\": \"square\", \"stroke\": \"white\", \"strokeWidth\": 2, \"fill\": \"#ddd\", \"size\": 6944.444444444444}}, {\"encoding\": {\"x\": {\"field\": \"g79X\", \"type\": \"quantitative\", \"scale\": {\"nice\": false, \"domain\": [0, 6]}, \"axis\": null}, \"y\": {\"field\": \"g79Y\", \"type\": \"quantitative\", \"sort\": \"descending\", \"scale\": {\"nice\": false, \"domain\": [0, 6]}, \"axis\": null}, \"text\": {\"field\": \"regionName\", \"type\": \"nominal\"}}, \"mark\": {\"type\": \"text\", \"fontsize\": 8, \"dy\": 15}}, {\"data\": {\"url\": \"https://gicentre.github.io/scrc/data/flows/scotLAsFlows.csv\"}, \"transform\": [{\"lookup\": \"source\", \"from\": {\"data\": {\"url\": \"https://gicentre.github.io/scrc/data/grid/scotLAsGrid.csv\", \"format\": {\"parse\": {\"g79x\": \"number\", \"g79y\": \"number\"}}}, \"key\": \"regionCode\", \"fields\": [\"g79X\", \"g79Y\"]}}, {\"calculate\": \"datum.g79X\", \"as\": \"oCol\"}, {\"calculate\": \"datum.g79Y\", \"as\": \"oRow\"}, {\"lookup\": \"dest\", \"from\": {\"data\": {\"url\": \"https://gicentre.github.io/scrc/data/grid/scotLAsGrid.csv\", \"format\": {\"parse\": {\"g79x\": \"number\", \"g79y\": \"number\"}}}, \"key\": \"regionCode\", \"fields\": [\"g79X\", \"g79Y\"]}}, {\"calculate\": \"datum.g79X\", \"as\": \"dCol\"}, {\"calculate\": \"datum.g79Y\", \"as\": \"dRow\"}, {\"filter\": \"datum.oCol != datum.dCol || datum.oRow != datum.dRow\"}], \"encoding\": {\"x\": {\"field\": \"oCol\", \"type\": \"quantitative\", \"scale\": {\"nice\": false, \"domain\": [0, 6]}, \"axis\": null}, \"y\": {\"field\": \"oRow\", \"type\": \"quantitative\", \"sort\": \"descending\", \"scale\": {\"nice\": false, \"domain\": [0, 6]}, \"axis\": null}, \"x2\": {\"field\": \"dCol\"}, \"y2\": {\"field\": \"dRow\"}, \"strokeWidth\": {\"field\": \"total\", \"type\": \"quantitative\", \"scale\": {\"type\": \"linear\", \"range\": [0.2, 30]}, \"legend\": null}}, \"mark\": {\"type\": \"rule\", \"color\": \"brown\", \"opacity\": 0.3, \"strokeCap\": \"round\"}}]}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"config\": {\"view\": {\"stroke\": \"\"}}, \"background\": \"black\", \"title\": {\"text\": \"otherClosed\", \"color\": \"white\", \"offset\": -40, \"anchor\": \"start\", \"fontsize\": 20}, \"width\": 500, \"height\": 500, \"data\": {\"url\": \"https://gicentre.github.io/scrc/data/grid/scotLAsGrid.csv\", \"format\": {\"parse\": {\"g79x\": \"number\", \"g79y\": \"number\"}}}, \"layer\": [{\"encoding\": {\"x\": {\"field\": \"g79X\", \"type\": \"quantitative\", \"scale\": {\"nice\": false, \"domain\": [0, 6]}, \"axis\": null}, \"y\": {\"field\": \"g79Y\", \"type\": \"quantitative\", \"sort\": \"descending\", \"scale\": {\"nice\": false, \"domain\": [0, 6]}, \"axis\": null}}, \"mark\": {\"type\": \"square\", \"stroke\": \"black\", \"strokeWidth\": 2, \"fill\": \"#333\", \"size\": 6944.444444444444}}, {\"data\": {\"url\": \"https://gicentre.github.io/scrc/data/flows/scotLAsFlows.csv\"}, \"transform\": [{\"lookup\": \"source\", \"from\": {\"data\": {\"url\": \"https://gicentre.github.io/scrc/data/grid/scotLAsGrid.csv\", \"format\": {\"parse\": {\"g79x\": \"number\", \"g79y\": \"number\"}}}, \"key\": \"regionCode\", \"fields\": [\"g79X\", \"g79Y\"]}}, {\"calculate\": \"datum.g79X\", \"as\": \"oCol\"}, {\"calculate\": \"datum.g79Y\", \"as\": \"oRow\"}, {\"calculate\": \"datum.oCol-0\", \"as\": \"oX\"}, {\"calculate\": \"datum.oRow-0\", \"as\": \"oY\"}, {\"lookup\": \"dest\", \"from\": {\"data\": {\"url\": \"https://gicentre.github.io/scrc/data/grid/scotLAsGrid.csv\", \"format\": {\"parse\": {\"g79x\": \"number\", \"g79y\": \"number\"}}}, \"key\": \"regionCode\", \"fields\": [\"g79X\", \"g79Y\"]}}, {\"calculate\": \"datum.g79X\", \"as\": \"dCol\"}, {\"calculate\": \"datum.g79Y\", \"as\": \"dRow\"}, {\"calculate\": \"datum.dCol+0\", \"as\": \"dX\"}, {\"calculate\": \"datum.dRow+0\", \"as\": \"dY\"}, {\"filter\": \"datum.oCol != datum.dCol || datum.oRow != datum.dRow\"}, {\"calculate\": \"datum.otherClosed- datum.likelyOperating\", \"as\": \"diff\"}], \"encoding\": {\"x\": {\"field\": \"oX\", \"type\": \"quantitative\", \"scale\": {\"nice\": false, \"domain\": [0, 6]}, \"axis\": null}, \"y\": {\"field\": \"oY\", \"type\": \"quantitative\", \"sort\": \"descending\", \"scale\": {\"nice\": false, \"domain\": [0, 6]}, \"axis\": null}, \"x2\": {\"field\": \"dX\"}, \"y2\": {\"field\": \"dY\"}, \"strokeWidth\": {\"field\": \"total\", \"type\": \"quantitative\", \"scale\": {\"type\": \"linear\", \"range\": [0.001, 31.25]}, \"legend\": null}, \"color\": {\"field\": \"diff\", \"type\": \"quantitative\", \"scale\": {\"scheme\": {\"name\": \"redYellowBlue\", \"extent\": [1, 0]}, \"domainMid\": 0, \"domain\": [-7000, 7000]}, \"legend\": {\"title\": \"Difference from likely operating\", \"titlecolor\": \"white\", \"labelcolor\": \"white\", \"titlefontsize\": 10, \"labelfontsize\": 10, \"direction\": \"horizontal\", \"orient\": \"none\", \"legendx\": -40, \"legendy\": 10, \"gradientLength\": 150, \"gradientThickness\": 15}}, \"order\": {\"field\": \"likelyOperating\", \"type\": \"quantitative\", \"sort\": \"descending\"}}, \"mark\": {\"type\": \"rule\", \"opacity\": 0.8, \"strokeCap\": \"round\"}}, {\"encoding\": {\"x\": {\"field\": \"g79X\", \"type\": \"quantitative\", \"scale\": {\"nice\": false, \"domain\": [0, 6]}, \"axis\": null}, \"y\": {\"field\": \"g79Y\", \"type\": \"quantitative\", \"sort\": \"descending\", \"scale\": {\"nice\": false, \"domain\": [0, 6]}, \"axis\": null}, \"text\": {\"field\": \"regionName\", \"type\": \"nominal\"}}, \"mark\": {\"type\": \"text\", \"color\": \"white\", \"fontsize\": 8, \"dy\": 15}}]}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"config\": {\"view\": {\"stroke\": \"\"}}, \"width\": 700, \"height\": 600, \"data\": {\"url\": \"https://gicentre.github.io/scrc/data/geo/greaterGlasgow.json\", \"format\": {\"type\": \"topojson\", \"feature\": \"greaterGlasgow\"}}, \"projection\": {\"type\": \"identity\", \"reflectY\": true}, \"encoding\": {\"color\": {\"field\": \"properties.NRSCouncil\", \"type\": \"nominal\", \"legend\": null, \"scale\": {\"scheme\": \"tableau20\"}}, \"tooltip\": [{\"field\": \"properties.IZ_NAME\", \"title\": \"MSOA\", \"type\": \"nominal\"}, {\"field\": \"properties.NRSCouncil\", \"title\": \"Council\", \"type\": \"nominal\"}]}, \"mark\": {\"type\": \"geoshape\", \"stroke\": \"white\", \"strokewidth\": 1, \"strokeJoin\": \"round\"}}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"config\": {\"view\": {\"stroke\": \"\"}}, \"width\": 700, \"height\": 600, \"projection\": {\"type\": \"identity\", \"reflectY\": true}, \"layer\": [{\"data\": {\"url\": \"https://gicentre.github.io/scrc/data/geo/greaterGlasgow.json\", \"format\": {\"type\": \"topojson\", \"feature\": \"greaterGlasgow\"}}, \"mark\": {\"type\": \"geoshape\", \"stroke\": \"white\", \"strokewidth\": 1, \"strokeJoin\": \"round\", \"fillOpacity\": 0.2}}, {\"data\": {\"url\": \"https://gicentre.github.io/scrc/data/flows/greaterGlasgowMSOAFlows.csv\"}, \"selection\": {\"distSlider\": {\"type\": \"single\", \"init\": {\"maxDist\": 40}, \"bind\": {\"maxDist\": {\"input\": \"range\", \"name\": \"Max distance (km): \", \"min\": 1, \"max\": 40, \"step\": 1}}}, \"flowSlider\": {\"type\": \"single\", \"init\": {\"minFlow\": 10}, \"bind\": {\"minFlow\": {\"input\": \"range\", \"name\": \"Min flow (people): \", \"min\": 3, \"max\": 158, \"step\": 1}}}}, \"transform\": [{\"lookup\": \"origin\", \"from\": {\"data\": {\"url\": \"https://gicentre.github.io/scrc/data/geo/greaterGlasgowCentroids.csv\"}, \"key\": \"IZ_CODE\", \"fields\": [\"cx\", \"cy\"]}}, {\"calculate\": \"datum.cx\", \"as\": \"oX\"}, {\"calculate\": \"datum.cy\", \"as\": \"oY\"}, {\"lookup\": \"dest\", \"from\": {\"data\": {\"url\": \"https://gicentre.github.io/scrc/data/geo/greaterGlasgowCentroids.csv\"}, \"key\": \"IZ_CODE\", \"fields\": [\"cx\", \"cy\"]}}, {\"calculate\": \"datum.cx\", \"as\": \"dX\"}, {\"calculate\": \"datum.cy\", \"as\": \"dY\"}, {\"filter\": \"datum.oX != datum.dX || datum.oY != datum.dY\"}, {\"calculate\": \"sqrt((datum.oX - datum.dX)*(datum.oX - datum.dX) + (datum.oY - datum.dY)*(datum.oY - datum.dY))\", \"as\": \"dist\"}, {\"filter\": \"datum.dist <= (distSlider_maxDist*1000)\"}, {\"filter\": \"datum.likelyOperating >= (flowSlider_minFlow)\"}], \"encoding\": {\"x\": {\"field\": \"oX\", \"type\": \"quantitative\", \"scale\": {\"nice\": false, \"zero\": false, \"domain\": [218820, 272283]}, \"axis\": null}, \"y\": {\"field\": \"oY\", \"type\": \"quantitative\", \"scale\": {\"nice\": false, \"zero\": false, \"domain\": [644792, 689564]}, \"axis\": null}, \"x2\": {\"field\": \"dX\"}, \"y2\": {\"field\": \"dY\"}, \"strokewidth\": {\"field\": \"total\", \"type\": \"quantitative\", \"scale\": {\"type\": \"linear\", \"domain\": [0, 160], \"range\": [0.2, 10]}, \"legend\": null}}, \"mark\": {\"type\": \"rule\", \"color\": \"brown\", \"opacity\": 0.1, \"strokeCap\": \"round\"}}, {\"data\": {\"url\": \"https://gicentre.github.io/scrc/data/geo/greaterGlasgow.json\", \"format\": {\"type\": \"topojson\", \"feature\": \"greaterGlasgow\"}}, \"encoding\": {\"tooltip\": [{\"field\": \"properties.IZ_NAME\", \"title\": \"MSOA\", \"type\": \"nominal\"}, {\"field\": \"properties.NRSCouncil\", \"title\": \"Council\", \"type\": \"nominal\"}]}, \"mark\": {\"type\": \"geoshape\", \"strokewidth\": 0.04, \"stroke\": \"white\", \"filled\": false}}]}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"config\": {\"view\": {\"stroke\": \"\"}}, \"background\": \"#f9f9f9\", \"width\": 600, \"height\": 600, \"data\": {\"url\": \"https://gicentre.github.io/scrc/data/grid/greaterGlasgowGrid.csv\"}, \"layer\": [{\"encoding\": {\"x\": {\"field\": \"gridX\", \"type\": \"quantitative\", \"scale\": {\"nice\": false, \"domain\": [0, 18]}, \"axis\": null}, \"y\": {\"field\": \"gridY\", \"type\": \"quantitative\", \"sort\": \"descending\", \"scale\": {\"nice\": false, \"domain\": [0, 18]}, \"axis\": null}, \"color\": {\"field\": \"council\", \"type\": \"nominal\", \"scale\": {\"scheme\": \"tableau20\"}, \"legend\": null}, \"tooltip\": [{\"field\": \"regionName\", \"type\": \"nominal\"}, {\"field\": \"council\", \"type\": \"nominal\"}]}, \"mark\": {\"type\": \"square\", \"stroke\": \"white\", \"strokewidth\": 2, \"opacity\": 1, \"size\": 1111.111111111111}}]}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"description\": \"A line chart showing the total amount of money committed every year between 1991 and 2010\", \"data\": {\"url\": \"https://raw.githubusercontent.com/grantat/cs725-blog/6c77cd08497a86c6495df1c40635ef033a1e71c7/static/data/v3/year_amount.json\"}, \"transform\": [{\"filter\": \"datum.year <= 2010\"}], \"mark\": \"line\", \"encoding\": {\"x\": {\"field\": \"year\", \"type\": \"ordinal\", \"axis\": {\"title\": \"years\"}}, \"y\": {\"aggregate\": \"sum\", \"field\": \"amount\", \"type\": \"quantitative\", \"axis\": {\"title\": \"total funds (million)\"}}}}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"description\": \"A bar chart showing recipient countries who received more than 10 million between 1991 and 2010\", \"data\": {\"url\": \"https://raw.githubusercontent.com/grantat/cs725-blog/6c77cd08497a86c6495df1c40635ef033a1e71c7/static/data/v3/recip_amount.json\", \"format\": {\"type\": \"json\"}}, \"signals\": [{\"name\": \"tooltip\", \"value\": {}, \"on\": [{\"events\": \"rect:mouseover\", \"update\": \"datum\"}, {\"events\": \"rect:mouseout\", \"update\": \"{}\"}]}], \"transform\": [{\"filter\": \"datum.amount >= 10000000\"}], \"mark\": \"bar\", \"encoding\": {\"x\": {\"field\": \"recip\", \"type\": \"ordinal\", \"sort\": {\"op\": \"sum\", \"field\": \"amount\", \"order\": \"descending\"}, \"axis\": {\"title\": \"Recipient Countries\"}}, \"y\": {\"aggregate\": \"sum\", \"field\": \"amount\", \"type\": \"quantitative\", \"axis\": {\"title\": \"Total Amount Received (million)\"}}, \"tooltip\": {\"field\": \"amount\", \"type\": \"quantitative\"}}}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"repeat\": {\"row\": [\"h\", \"s\", \"l\"], \"column\": [\"h\", \"s\", \"l\"]}, \"spec\": {\"data\": {\"url\": \"https://raw.githubusercontent.com/lepisma/lepisma.github.io/0002191ab5505517653d672405ba940c26687b11/blog/2019/10/31/github-linguist-colors/linguist-data.json\", \"format\": {\"type\": \"json\"}}, \"mark\": {\"type\": \"point\"}, \"transform\": [{\"calculate\": \"'https://github.com/trending?l=' + datum.name\", \"as\": \"url\"}], \"selection\": {\"brush\": {\"type\": \"interval\", \"resolve\": \"union\", \"on\": \"[mousedown[event.shiftKey], window:mouseup] > window:mousemove!\", \"translate\": \"[mousedown[event.shiftKey], window:mouseup] > window:mousemove!\", \"zoom\": \"wheel![event.shiftKey]\"}, \"grid\": {\"type\": \"interval\", \"resolve\": \"global\", \"bind\": \"scales\", \"translate\": \"[mousedown[!event.shiftKey], window:mouseup] > window:mousemove!\", \"zoom\": \"wheel![!event.shiftKey]\"}}, \"encoding\": {\"x\": {\"field\": {\"repeat\": \"column\"}, \"type\": \"quantitative\"}, \"y\": {\"field\": {\"repeat\": \"row\"}, \"type\": \"quantitative\", \"axis\": {\"minExtent\": 30}}, \"tooltip\": {\"field\": \"name\", \"type\": \"nominal\"}, \"href\": {\"field\": \"url\", \"type\": \"nominal\"}, \"color\": {\"condition\": {\"selection\": \"brush\", \"field\": \"color\", \"type\": \"nominal\", \"scale\": null}, \"value\": \"gray\"}}}}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"width\": \"container\", \"height\": \"container\", \"autosize\": {\"type\": \"fit\", \"contains\": \"padding\"}, \"config\": {\"background\": \"#FFFFFF\", \"axisX\": {\"grid\": false}, \"axisY\": {\"domain\": false, \"ticks\": false, \"gridDash\": [2], \"gridWidth\": 1}, \"view\": {\"stroke\": \"transparent\"}}, \"layer\": [{\"data\": {\"url\": \"https://nychealth.github.io/covid-maps/nr/js/MODZCTA_2010_RI99999_WGS1984_1_topoms.json\", \"format\": {\"type\": \"topojson\", \"feature\": \"collection\"}}, \"mark\": {\"type\": \"geoshape\", \"stroke\": \"#ffffff\", \"fill\": \"lightgray\"}}, {\"data\": {\"url\": \"https://nychealth.github.io/covid-maps/nr/js/zcta_points.csv\"}, \"transform\": [{\"lookup\": \"MODZCTA\", \"from\": {\"data\": {\"url\": \"https://raw.githubusercontent.com/nychealth/coronavirus-data/master/latest/last7days-by-modzcta.csv\"}, \"key\": \"modzcta\", \"fields\": [\"modzcta\", \"modzcta_name\", \"percentpositivity_7day\", \"people_tested\", \"people_positive\", \"daterange\", \"median_daily_test_rate\"]}, \"default\": \"no data\"}], \"mark\": {\"type\": \"circle\", \"stroke\": \"#8A2BE2\", \"fill\": \"red\", \"fillOpacity\": 0.5}, \"encoding\": {\"latitude\": {\"field\": \"lat\", \"type\": \"quantitative\"}, \"longitude\": {\"field\": \"lon\", \"type\": \"quantitative\"}, \"size\": {\"bin\": false, \"field\": \"people_positive\", \"type\": \"quantitative\", \"scale\": {\"range\": [0, 400]}, \"legend\": {\"title\": \"New cases (reported so far)\", \"titleFontSize\": 10, \"orient\": \"top-left\", \"symbolLimit\": 5, \"symbolOpacity\": 0.5, \"values\": [10, 50, 100]}}, \"strokeWidth\": {\"value\": 0.5}, \"tooltip\": [{\"field\": \"modzcta\", \"type\": \"nominal\", \"title\": \"ZIP code\"}, {\"field\": \"modzcta_name\", \"type\": \"nominal\", \"title\": \"Neighborhood\"}, {\"field\": \"median_daily_test_rate\", \"type\": \"quantitative\", \"title\": \"Daily test rate (per 100,000)\"}, {\"field\": \"percentpositivity_7day\", \"type\": \"quantitative\", \"title\": \"Percent positive\"}, {\"field\": \"people_positive\", \"type\": \"quantitative\", \"title\": \"People positive (reported to date)\"}, {\"field\": \"daterange\", \"type\": \"nominal\", \"title\": \"Dates\"}]}}]}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"description\": \"Tick chart\", \"width\": \"container\", \"height\": 40, \"config\": {\"background\": \"#FFFFFF\", \"axisX\": {\"domain\": true, \"labels\": true, \"grid\": false, \"labelFontSize\": 8, \"tickColor\": \"#000000\", \"tickSize\": 2, \"titleFontSize\": 12}, \"axisY\": {\"domain\": false, \"labels\": false, \"grid\": false, \"ticks\": false}, \"view\": {\"stroke\": \"transparent\"}, \"tick\": {\"thickness\": 0.65, \"bandSize\": 40}}, \"data\": {\"url\": \"https://raw.githubusercontent.com/nychealth/coronavirus-data/master/latest/last7days-by-modzcta.csv\"}, \"layer\": [{\"mark\": {\"type\": \"tick\", \"tooltip\": true, \"color\": \"darkgrey\"}, \"encoding\": {\"x\": {\"field\": \"median_daily_test_rate\", \"type\": \"quantitative\", \"title\": null}, \"tooltip\": [{\"field\": \"modzcta\", \"title\": \"ZIP\"}, {\"field\": \"median_daily_test_rate\", \"type\": \"quantitative\", \"title\": \"Daily test rate (per 100,000)\"}]}}, {\"mark\": {\"type\": \"tick\", \"thickness\": 4, \"tooltip\": true, \"color\": \"#DB00A8\"}, \"transform\": [{\"filter\": \"datum.modzcta == 11226\"}], \"encoding\": {\"x\": {\"field\": \"median_daily_test_rate\", \"type\": \"quantitative\", \"title\": null}, \"tooltip\": [{\"field\": \"modzcta\", \"title\": \"ZIP\"}, {\"field\": \"median_daily_test_rate\", \"type\": \"quantitative\", \"title\": \"Daily test rate positive\"}]}}]}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"description\": \"Test rate over time\", \"width\": \"container\", \"height\": 350, \"config\": {\"background\": \"#FFFFFF\", \"axisX\": {\"grid\": false}, \"axisY\": {\"domain\": false, \"ticks\": false, \"gridDash\": [2], \"gridWidth\": 1}, \"view\": {\"stroke\": \"transparent\"}}, \"data\": {\"url\": \"https://raw.githubusercontent.com/nychealth/coronavirus-data/master/trends/testrate-by-modzcta.csv\"}, \"layer\": [{\"mark\": {\"type\": \"line\", \"point\": true, \"tooltip\": true, \"interpolate\": \"natural\", \"strokeWidth\": 1.5}, \"encoding\": {\"x\": {\"field\": \"week_ending\", \"type\": \"temporal\", \"title\": \"\"}, \"y\": {\"field\": \"TESTRATE_CITY\", \"type\": \"quantitative\", \"title\": null}, \"color\": {\"value\": \"black\"}, \"tooltip\": [{\"field\": \"TESTRATE_CITY\", \"title\": \"New York City\"}, {\"field\": \"week_ending\", \"type\": \"temporal\", \"title\": \"Week ending\"}]}}, {\"mark\": {\"type\": \"line\", \"point\": true, \"tooltip\": true, \"interpolate\": \"natural\", \"strokeWidth\": 1.5}, \"encoding\": {\"x\": {\"field\": \"week_ending\", \"type\": \"temporal\"}, \"y\": {\"field\": \"TESTRATE_BK\", \"type\": \"quantitative\"}, \"color\": {\"value\": \"darkgrey\"}, \"tooltip\": [{\"field\": \"TESTRATE_BK\", \"title\": \"Brooklyn\"}, {\"field\": \"week_ending\", \"type\": \"temporal\", \"title\": \"Week ending\"}]}}, {\"mark\": {\"type\": \"line\", \"point\": {\"filled\": false, \"fill\": \"white\"}, \"tooltip\": true, \"interpolate\": \"natural\", \"strokeWidth\": 3}, \"encoding\": {\"x\": {\"field\": \"week_ending\", \"type\": \"temporal\"}, \"y\": {\"field\": \"TESTRATE_11226\", \"type\": \"quantitative\"}, \"color\": {\"value\": \"hotpink\"}, \"tooltip\": [{\"field\": \"TESTRATE_11226\", \"title\": \"ZIP Code 11226\"}, {\"field\": \"week_ending\", \"type\": \"temporal\", \"title\": \"Week ending\"}]}}]}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"description\": \"Tick chart\", \"width\": \"container\", \"height\": \"container\", \"config\": {\"background\": \"#FFFFFF\", \"axisX\": {\"domain\": true, \"labels\": false, \"grid\": false, \"labelFontSize\": 8, \"tickColor\": \"#000000\", \"tickSize\": 2, \"titleFontSize\": 12}, \"axisY\": {\"domain\": false, \"labels\": false, \"grid\": false, \"ticks\": false}, \"view\": {\"stroke\": \"transparent\"}, \"tick\": {\"thickness\": 0.65, \"bandSize\": 40}}, \"data\": {\"url\": \"https://raw.githubusercontent.com/nychealth/covid-vaccine-data/main/people/coverage-by-modzcta-allages.csv\"}, \"layer\": [{\"mark\": {\"type\": \"bar\", \"tooltip\": true, \"color\": \"darkgrey\"}, \"encoding\": {\"y\": {\"field\": \"PERC_1PLUS\", \"type\": \"quantitative\", \"title\": null}, \"tooltip\": [{\"field\": \"Label\", \"title\": \"ZIP\"}, {\"field\": \"NEIGHBORHOOD_NAME\", \"title\": \"Neighborhood\"}, {\"field\": \"PERC_1PLUS\", \"type\": \"quantitative\", \"title\": \"Percent with at least 1 dose\"}], \"x\": {\"field\": \"MODZCTA\", \"sort\": {\"field\": \"PERC_FULLY\"}, \"axis\": null}}}, {\"mark\": {\"type\": \"bar\", \"tooltip\": true, \"color\": \"#DB00A8\"}, \"encoding\": {\"y\": {\"field\": \"PERC_1PLUS\", \"type\": \"quantitative\", \"title\": null}, \"tooltip\": [{\"field\": \"Label\", \"title\": \"ZIP\"}, {\"field\": \"NEIGHBORHOOD_NAME\", \"title\": \"Neighborhood\"}, {\"field\": \"PERC_1PLUS\", \"type\": \"quantitative\", \"title\": \"Percent with at least 1 dose\"}], \"x\": {\"field\": \"MODZCTA\", \"sort\": {\"field\": \"PERC_FULLY\"}, \"axis\": null}}, \"transform\": [{\"filter\": \"datum.MODZCTA == 11226\"}]}]}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"description\": \"LINE CHART\", \"width\": \"container\", \"height\": 350, \"config\": {\"background\": \"#FFFFFF\", \"axisX\": {\"grid\": false}, \"axisY\": {\"domain\": false, \"ticks\": false, \"gridDash\": [2], \"gridWidth\": 1}, \"view\": {\"stroke\": \"transparent\"}}, \"data\": {\"url\": \"https://raw.githubusercontent.com/nychealth/coronavirus-data/master/trends/caserate-by-modzcta.csv\"}, \"layer\": [{\"mark\": {\"type\": \"line\", \"point\": true, \"tooltip\": true, \"interpolate\": \"natural\", \"strokeWidth\": 1.5}, \"encoding\": {\"x\": {\"field\": \"week_ending\", \"type\": \"temporal\", \"title\": \"\"}, \"y\": {\"field\": \"CASERATE_CITY\", \"type\": \"quantitative\", \"title\": null}, \"color\": {\"value\": \"black\"}, \"tooltip\": [{\"field\": \"CASERATE_CITY\", \"title\": \"New York City\"}, {\"field\": \"week_ending\", \"type\": \"temporal\", \"title\": \"Week ending\"}]}}, {\"mark\": {\"type\": \"line\", \"point\": true, \"tooltip\": true, \"interpolate\": \"natural\", \"strokeWidth\": 1.5}, \"encoding\": {\"x\": {\"field\": \"week_ending\", \"type\": \"temporal\"}, \"y\": {\"field\": \"CASERATE_BK\", \"type\": \"quantitative\"}, \"color\": {\"value\": \"darkgrey\"}, \"tooltip\": [{\"field\": \"CASERATE_BK\", \"title\": \"Brooklyn\"}, {\"field\": \"week_ending\", \"type\": \"temporal\", \"title\": \"Week ending\"}]}}, {\"mark\": {\"type\": \"line\", \"point\": {\"filled\": false, \"fill\": \"white\"}, \"tooltip\": true, \"interpolate\": \"natural\", \"strokeWidth\": 3}, \"encoding\": {\"x\": {\"field\": \"week_ending\", \"type\": \"temporal\"}, \"y\": {\"field\": \"CASERATE_11226\", \"type\": \"quantitative\"}, \"color\": {\"value\": \"hotpink\"}, \"tooltip\": [{\"field\": \"CASERATE_11226\", \"title\": \"ZIP Code 11226\"}, {\"field\": \"week_ending\", \"type\": \"temporal\", \"title\": \"Week ending\"}]}}]}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"width\": \"container\", \"height\": \"container\", \"autosize\": {\"type\": \"fit\", \"contains\": \"padding\"}, \"config\": {\"view\": {\"stroke\": \"transparent\"}}, \"layer\": [{\"data\": {\"url\": \"https://raw.githubusercontent.com/nychealth/EHDP-data/production/geography/NTA_2010.topo.json\", \"format\": {\"type\": \"topojson\", \"feature\": \"collection\"}}, \"mark\": {\"type\": \"geoshape\", \"stroke\": \"#ffffff\", \"fill\": \"lightgray\"}}, {\"data\": {\"url\": \"https://raw.githubusercontent.com/nychealth/EHDP-data/production/geography/NTA_2010.topo.json\", \"format\": {\"type\": \"topojson\", \"feature\": \"collection\"}}, \"transform\": [{\"lookup\": \"properties.NTACode\", \"from\": {\"data\": {\"url\": \"https://raw.githubusercontent.com/nychealth/EHDP-data/production/key-topics/air-quality-explorer/aqe-nta.csv\"}, \"key\": \"NTACode\", \"fields\": [\"NTACode\", \"GEONAME\", \"GEOCODE\", \"tertile_buildingemissions\", \"tertile_buildingdensity\", \"tertile_industrial\", \"tertile_trafficdensity\"]}}], \"mark\": {\"type\": \"geoshape\", \"stroke\": \"#000000\"}, \"encoding\": {\"color\": {\"bin\": false, \"field\": \"tertile_buildingemissions\", \"type\": \"ordinal\", \"scale\": {\"scheme\": {\"name\": \"purples\", \"extent\": [-0.5, 1]}}, \"legend\": null}, \"strokeWidth\": {\"value\": 0.5}, \"tooltip\": [{\"field\": \"GEONAME\", \"type\": \"nominal\", \"title\": \"Neighborhood\"}, {\"field\": \"tertile_buildingemissions\", \"type\": \"nominal\", \"title\": \"Building emissions\"}, {\"field\": \"tertile_buildingdensity\", \"type\": \"nominal\", \"title\": \"Building density\"}, {\"field\": \"tertile_industrial\", \"type\": \"nominal\", \"title\": \"Industrial area\"}, {\"field\": \"tertile_trafficdensity\", \"type\": \"nominal\", \"title\": \"Traffic\"}]}}]}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"description\": \"A simple bar chart with ranged data (aka Gantt Chart).\", \"data\": {\"values\": [{\"Test\": \"AMC 8\", \"Start difficulty\": 0.25, \"End difficulty\": 2, \"Level\": \"Introductory\"}, {\"Test\": \"AMC 10\", \"Start difficulty\": 1, \"End difficulty\": 4.5, \"Level\": \"Intermediate\"}, {\"Test\": \"AMC 12\", \"Start difficulty\": 1.25, \"End difficulty\": 5.5, \"Level\": \"Intermediate\"}, {\"Test\": \"AHSME\", \"Start difficulty\": 1, \"End difficulty\": 5.5, \"Level\": \"Intermediate\"}, {\"Test\": \"AIME\", \"Start difficulty\": 3, \"End difficulty\": 6.5, \"Level\": \"Intermediate\"}, {\"Test\": \"USAJMO\", \"Start difficulty\": 4, \"End difficulty\": 7, \"Level\": \"Olympiad\"}, {\"Test\": \"USAMO\", \"Start difficulty\": 4, \"End difficulty\": 8.5, \"Level\": \"Olympiad\"}, {\"Test\": \"IMO\", \"Start difficulty\": 4, \"End difficulty\": 9.5, \"Level\": \"Olympiad\"}]}, \"mark\": \"bar\", \"encoding\": {\"y\": {\"field\": \"Test\", \"type\": \"ordinal\", \"sort\": {\"order\": null}, \"axis\": {\"titleFontSize\": 14, \"labelFontSize\": 13}}, \"x\": {\"field\": \"Start difficulty\", \"type\": \"quantitative\", \"axis\": {\"tickMinStep\": 1, \"titleFontSize\": 14, \"labelFontSize\": 13, \"title\": \"Difficulty\"}}, \"x2\": {\"field\": \"End difficulty\"}, \"color\": {\"type\": \"nominal\", \"field\": \"Level\", \"scale\": {\"domain\": [\"Introductory\", \"Intermediate\", \"Olympiad\"], \"range\": [\"#f58518\", \"#4c78a8\", \"#e45756\"]}, \"sort\": {\"order\": null}, \"legend\": {\"titleFontSize\": 14, \"labelFontSize\": 13}}}, \"width\": \"container\", \"height\": 200, \"background\": null, \"config\": {\"font\": \"'Latin Modern Sans', sans-serif\"}}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"description\": \"Covid-19 data, from ECDC\", \"data\": {\"url\": \"https://raw.githubusercontent.com/RDeconomist/observatory/main/covidGlobalCases.csv\"}, \"transform\": [{\"filter\": {\"field\": \"country\", \"oneOf\": [\"United Kingdom\", \"France\", \"Germany\", \"India\"]}}, {\"filter\": {\"field\": \"indicator\", \"oneOf\": [\"cases\"]}}], \"encoding\": {\"x\": {\"field\": \"year_week\", \"type\": \"ordinal\", \"axis\": {\"title\": \"Date\", \"grid\": false, \"tickCount\": 7, \"labelOverlap\": \"greedy\"}, \"scale\": {}}, \"y\": {\"field\": \"weekly_count\", \"type\": \"quantitative\", \"axis\": {\"title\": \"Cases\", \"grid\": false}, \"scale\": {\"domain\": [0, 1600000]}}, \"color\": {\"field\": \"country\", \"type\": \"nominal\", \"scale\": {\"scheme\": \"set1\"}, \"title\": \"\"}, \"tooltip\": [{\"field\": \"date2\", \"type\": \"temporal\", \"title\": \"Date\"}, {\"field\": \"country\", \"type\": \"nominal\", \"title\": \"Country\"}, {\"field\": \"cases_ma7\", \"type\": \"nominal\", \"title\": \"Cases 7-day avg\", \"format\": \".0f\"}, {\"field\": \"cases\", \"type\": \"nominal\", \"title\": \"Cases\"}]}, \"config\": {\"background\": \"#FcFdFd\"}, \"height\": 400, \"width\": 600, \"mark\": {\"type\": \"line\"}}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"description\": \"Covid-19 data, from ECDC\", \"title\": {\"text\": \"Covid-19 deaths\", \"subtitle\": \"Weekly count. Source: ECDC\", \"subtitleFontStyle\": \"italic\", \"subtitleFontSize\": 10, \"anchor\": \"start\", \"color\": \"black\"}, \"data\": {\"url\": \"https://raw.githubusercontent.com/RDeconomist/observatory/main/covidGlobalCases.csv\"}, \"transform\": [{\"filter\": {\"field\": \"country\", \"oneOf\": [\"United Kingdom\", \"France\", \"Germany\", \"India\"]}}, {\"filter\": {\"field\": \"indicator\", \"oneOf\": [\"deaths\"]}}], \"encoding\": {\"x\": {\"field\": \"year_week\", \"type\": \"ordinal\", \"axis\": {\"title\": \"Date\", \"grid\": false, \"tickCount\": 7, \"labelOverlap\": \"greedy\"}, \"scale\": {}}, \"y\": {\"field\": \"weekly_count\", \"type\": \"quantitative\", \"axis\": {\"title\": \"Cases\", \"grid\": false}}, \"color\": {\"field\": \"country\", \"type\": \"nominal\", \"scale\": {\"scheme\": \"set2\"}, \"title\": \"\"}, \"tooltip\": [{\"field\": \"date2\", \"type\": \"temporal\", \"title\": \"Date\"}, {\"field\": \"country\", \"type\": \"nominal\", \"title\": \"Country\"}, {\"field\": \"cases_ma7\", \"type\": \"nominal\", \"title\": \"Cases 7-day avg\", \"format\": \".0f\"}, {\"field\": \"cases\", \"type\": \"nominal\", \"title\": \"Cases\"}]}, \"config\": {\"background\": \"#FcFdFd\"}, \"height\": 400, \"width\": 600, \"mark\": {\"type\": \"line\", \"interpolate\": \"linear\", \"color\": \"red\"}}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"description\": \"Covid-19 data, from ECDC\", \"title\": {\"text\": \"Covid-19 cases, selected countries\", \"subtitle\": \"Weekly cases rate, per 100k population. Source: ECDC\", \"subtitleFontStyle\": \"italic\", \"subtitleFontSize\": 10, \"anchor\": \"start\", \"color\": \"black\"}, \"data\": {\"url\": \"https://raw.githubusercontent.com/RDeconomist/observatory/main/covidGlobalCases.csv\"}, \"transform\": [{\"filter\": {\"field\": \"country\", \"oneOf\": [\"United Kingdom\", \"France\", \"Germany\", \"India\", \"America (total)\"]}}, {\"filter\": {\"field\": \"indicator\", \"oneOf\": [\"cases\"]}}], \"encoding\": {\"x\": {\"field\": \"year_week\", \"type\": \"ordinal\", \"axis\": {\"title\": \"Date\", \"grid\": false, \"tickCount\": 7, \"labelOverlap\": \"greedy\"}, \"scale\": {}}, \"y\": {\"field\": \"rate_14_day\", \"type\": \"quantitative\", \"axis\": {\"title\": \"Cases\", \"grid\": false}}, \"color\": {\"field\": \"country\", \"type\": \"nominal\", \"scale\": {\"scheme\": \"set2\"}, \"title\": \"\"}}, \"config\": {\"background\": \"#FcFdFd\"}, \"height\": 300, \"width\": 800, \"mark\": {\"type\": \"line\", \"interpolate\": \"monotone\", \"color\": \"red\"}}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"description\": \"Hospital admissions\", \"title\": {\"text\": \"Deaths\", \"subtitle\": \"Deaths within 28 days of positive test, rolling rate\", \"subtitleFontStyle\": \"italic\", \"subtitleFontSize\": 10, \"anchor\": \"start\", \"color\": \"black\"}, \"data\": {\"url\": \"https://api.coronavirus.data.gov.uk/v2/data?areaType=nation&metric=newDeaths28DaysByDeathDateRollingRate&format=csv\", \"format\": {\"type\": \"csv\"}}, \"height\": 150, \"width\": 150, \"mark\": {\"type\": \"bar\", \"color\": \"black\"}, \"transform\": [{\"filter\": {\"field\": \"date\", \"range\": [{\"year\": 2020, \"month\": \"feb\", \"date\": 1}, {\"year\": 2022, \"month\": \"dec\", \"date\": 30}]}}], \"encoding\": {\"x\": {\"field\": \"date\", \"type\": \"temporal\", \"title\": \"\"}, \"y\": {\"field\": \"newDeaths28DaysByDeathDateRollingRate\", \"type\": \"quantitative\", \"title\": null}, \"facet\": {\"field\": \"areaName\", \"type\": \"nominal\", \"columns\": 4, \"title\": null}, \"tooltip\": [{\"field\": \"date\", \"type\": \"temporal\", \"title\": \"Date\"}, {\"field\": \"newAdmissions\", \"type\": \"quantitative\", \"title\": \"New Admissions\", \"format\": \",.0f\"}]}}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"description\": \"Hospital admissions\", \"title\": {\"text\": \"Hospital admissions\", \"subtitle\": \"New asmissions, rolling weekly average rate, per 100k population\", \"subtitleFontStyle\": \"italic\", \"subtitleFontSize\": 10, \"anchor\": \"start\", \"color\": \"black\"}, \"data\": {\"url\": \"https://api.coronavirus.data.gov.uk/v2/data?areaType=nation&metric=newAdmissionsRollingRate&format=csv\", \"format\": {\"type\": \"csv\"}}, \"height\": 130, \"width\": 150, \"mark\": {\"type\": \"bar\", \"color\": \"orange\"}, \"transform\": [{\"filter\": {\"field\": \"date\", \"range\": [{\"year\": 2020, \"month\": \"feb\", \"date\": 1}, {\"year\": 2022, \"month\": \"dec\", \"date\": 30}]}}], \"encoding\": {\"x\": {\"field\": \"date\", \"type\": \"temporal\", \"title\": \"\"}, \"y\": {\"field\": \"newAdmissionsRollingRate\", \"type\": \"quantitative\", \"title\": null}, \"facet\": {\"field\": \"areaName\", \"type\": \"nominal\", \"columns\": 2, \"title\": null}, \"tooltip\": [{\"field\": \"date\", \"type\": \"temporal\", \"title\": \"Date\"}, {\"field\": \"newAdmissions\", \"type\": \"quantitative\", \"title\": \"New Admissions\", \"format\": \",.0f\"}]}, \"resolve\": {\"scale\": {\"y\": \"independent\"}}}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"autosize\": {\"type\": \"fit\", \"contains\": \"padding\"}, \"padding\": 5, \"style\": \"cell\", \"signals\": [{\"name\": \"width\", \"init\": \"containerSize()[0]\", \"on\": [{\"events\": \"window:resize\", \"update\": \"containerSize()[0]\"}]}, {\"name\": \"height\", \"init\": \"containerSize()[1]\", \"on\": [{\"events\": \"window:resize\", \"update\": \"containerSize()[1]\"}]}], \"data\": {\"url\": \"https://raw.githubusercontent.com/RDeconomist/observatory/main/total_uk_hh_wealth.csv\"}, \"width\": \"container\", \"height\": \"container\", \"encoding\": {\"x\": {\"field\": \"year\", \"type\": \"temporal\", \"scale\": {\"domain\": [\"1947\", \"2018\"]}, \"axis\": {\"grid\": false, \"title\": null}}}, \"layer\": [{\"encoding\": {\"color\": {\"field\": \"name\", \"type\": \"nominal\"}, \"y\": {\"field\": \"Wealth as proportion of GDP\", \"title\": \"Wealth as proportion of GDP, %\", \"type\": \"quantitative\"}}, \"layer\": [{\"mark\": {\"type\": \"line\", \"point\": true}}, {\"transform\": [{\"filter\": {\"selection\": \"hover\"}}], \"mark\": \"point\"}]}, {\"transform\": [{\"pivot\": \"name\", \"value\": \"Wealth as proportion of GDP\", \"groupby\": [\"year\"]}], \"mark\": \"rule\", \"encoding\": {\"opacity\": {\"condition\": {\"value\": 0.5, \"selection\": \"hover\"}, \"value\": 0}, \"tooltip\": [{\"field\": \"Blake & Orszag\", \"type\": \"quantitative\"}, {\"field\": \"Atkinson\", \"type\": \"quantitative\"}, {\"field\": \"WAS\", \"type\": \"quantitative\"}]}, \"selection\": {\"hover\": {\"type\": \"single\", \"fields\": [\"year\"], \"nearest\": true, \"on\": \"mouseover\", \"empty\": \"none\", \"clear\": \"mouseout\"}}}], \"config\": {\"arc\": {\"fill\": \"#3366CC\"}, \"area\": {\"fill\": \"#3366CC\"}, \"path\": {\"stroke\": \"#3366CC\"}, \"rect\": {\"fill\": \"#3366CC\"}, \"shape\": {\"stroke\": \"#3366CC\"}, \"symbol\": {\"stroke\": \"#3366CC\"}, \"circle\": {\"fill\": \"#3366CC\"}, \"background\": \"#fff\", \"padding\": {\"top\": 10, \"right\": 10, \"bottom\": 10, \"left\": 10}, \"style\": {\"guide-label\": {\"font\": \"Arial, sans-serif\", \"fontSize\": 12}, \"guide-title\": {\"font\": \"Arial, sans-serif\", \"fontSize\": 12}, \"group-title\": {\"font\": \"Arial, sans-serif\", \"fontSize\": 12}}, \"title\": {\"font\": \"Arial, sans-serif\", \"fontSize\": 14, \"fontWeight\": \"bold\", \"dy\": -3, \"anchor\": \"start\"}, \"legend\": {\"orient\": \"top\", \"title\": null}, \"axis\": {\"gridColor\": \"#ccc\", \"tickColor\": \"#ccc\", \"domain\": false, \"grid\": true}, \"range\": {\"category\": [\"#4285F4\", \"#DB4437\", \"#F4B400\", \"#0F9D58\", \"#AB47BC\", \"#00ACC1\", \"#FF7043\", \"#9E9D24\", \"#5C6BC0\", \"#F06292\", \"#00796B\", \"#C2185B\"], \"heatmap\": [\"#c6dafc\", \"#5e97f6\", \"#2a56c6\"]}}}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"autosize\": {\"type\": \"fit\", \"contains\": \"padding\"}, \"padding\": 5, \"style\": \"cell\", \"signals\": [{\"name\": \"width\", \"init\": \"containerSize()[0]\", \"on\": [{\"events\": \"window:resize\", \"update\": \"containerSize()[0]\"}]}, {\"name\": \"height\", \"init\": \"containerSize()[1]\", \"on\": [{\"events\": \"window:resize\", \"update\": \"containerSize()[1]\"}]}], \"data\": {\"url\": \"https://raw.githubusercontent.com/RDeconomist/observatory/main/total_uk_pension_wealth.csv\"}, \"width\": \"container\", \"height\": \"container\", \"encoding\": {\"x\": {\"field\": \"year\", \"type\": \"temporal\", \"scale\": {\"domain\": [\"2006\", \"2018\"]}, \"axis\": {\"grid\": false, \"tickCount\": 10, \"title\": null}}}, \"layer\": [{\"encoding\": {\"color\": {\"field\": \"name\", \"type\": \"nominal\"}, \"y\": {\"field\": \"\\u00a3 billions\", \"type\": \"quantitative\"}}, \"layer\": [{\"mark\": {\"type\": \"line\", \"point\": true}}, {\"transform\": [{\"filter\": {\"selection\": \"hover\"}}], \"mark\": \"point\"}]}, {\"transform\": [{\"pivot\": \"name\", \"value\": \"\\u00a3 billions\", \"groupby\": [\"year\"]}], \"mark\": \"rule\", \"encoding\": {\"opacity\": {\"condition\": {\"value\": 0.3, \"selection\": \"hover\"}, \"value\": 0}, \"tip\": [{\"field\": \"Total pension wealth\", \"type\": \"nominal\"}, {\"field\": \"Estimated elements of pension wealth\", \"type\": \"quantitative\"}, {\"field\": \"Constant 2006-8 rates\", \"type\": \"quantitative\"}]}, \"selection\": {\"hover\": {\"type\": \"single\", \"fields\": [\"year\"], \"nearest\": true, \"on\": \"mouseover\", \"empty\": \"none\", \"clear\": \"mouseout\"}}}], \"config\": {\"arc\": {\"fill\": \"#3366CC\"}, \"area\": {\"fill\": \"#3366CC\"}, \"path\": {\"stroke\": \"#3366CC\"}, \"rect\": {\"fill\": \"#3366CC\"}, \"shape\": {\"stroke\": \"#3366CC\"}, \"symbol\": {\"stroke\": \"#3366CC\"}, \"circle\": {\"fill\": \"#3366CC\"}, \"background\": \"#fff\", \"padding\": {\"top\": 10, \"right\": 10, \"bottom\": 10, \"left\": 10}, \"style\": {\"guide-label\": {\"font\": \"Arial, sans-serif\", \"fontSize\": 12}, \"guide-title\": {\"font\": \"Arial, sans-serif\", \"fontSize\": 12}, \"group-title\": {\"font\": \"Arial, sans-serif\", \"fontSize\": 12}}, \"title\": {\"font\": \"Arial, sans-serif\", \"fontSize\": 14, \"fontWeight\": \"bold\", \"dy\": -3, \"anchor\": \"start\"}, \"axis\": {\"gridColor\": \"#ccc\", \"tickColor\": \"#ccc\", \"domain\": false, \"grid\": true}, \"legend\": {\"orient\": \"top\", \"title\": null}, \"range\": {\"category\": [\"#4285F4\", \"#DB4437\", \"#F4B400\", \"#0F9D58\", \"#AB47BC\", \"#00ACC1\", \"#FF7043\", \"#9E9D24\", \"#5C6BC0\", \"#F06292\", \"#00796B\", \"#C2185B\"], \"heatmap\": [\"#c6dafc\", \"#5e97f6\", \"#2a56c6\"]}}}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"title\": {\"text\": \"Cases: English regions\", \"subtitle\": \"New cases by publish date.\", \"subtitleFontStyle\": \"italic\", \"subtitleFontSize\": 10, \"anchor\": \"start\", \"color\": \"black\"}, \"description\": \"Coronavirus cases\", \"data\": {\"url\": \"https://api.coronavirus.data.gov.uk/v2/data?areaType=region&metric=newCasesByPublishDate&format=csv\", \"format\": {\"type\": \"csv\"}}, \"height\": 300, \"width\": 300, \"mark\": {\"type\": \"bar\", \"width\": 10}, \"selection\": {\"Region\": {\"type\": \"single\", \"fields\": [\"areaName\"], \"bind\": {\"input\": \"select\", \"options\": [null, \"London\", \"East Midlands\", \"East of England\", \"North East\", \"North West\", \"South East\", \"South West\", \"West Midlands\", \"Yorkshire and The Humber\"], \"name\": \"Pick a region: \"}}}, \"transform\": [{\"filter\": {\"selection\": \"Region\"}}, {\"filter\": {\"field\": \"date\", \"range\": [{\"year\": 2020, \"month\": \"dec\", \"date\": 5}, {\"year\": 2050, \"month\": \"dec\", \"date\": 30}]}}], \"encoding\": {\"x\": {\"field\": \"date\", \"type\": \"temporal\", \"title\": null}, \"y\": {\"field\": \"newCasesByPublishDate\", \"type\": \"quantitative\", \"title\": null}, \"color\": {\"field\": \"areaName\", \"type\": \"nominal\", \"legend\": null, \"scale\": {\"scheme\": \"inferno\"}}}}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"title\": {\"text\": \"Case positivity: English regions\", \"subtitle\": \"Positive rate %, by specimen date, rolling weekly sum.\", \"subtitleFontStyle\": \"italic\", \"subtitleFontSize\": 10, \"anchor\": \"start\", \"color\": \"black\"}, \"description\": \"Coronavirus cases\", \"data\": {\"url\": \"https://api.coronavirus.data.gov.uk/v2/data?areaType=region&metric=uniqueCasePositivityBySpecimenDateRollingSum&format=csv\", \"format\": {\"type\": \"csv\"}}, \"height\": 300, \"width\": 300, \"config\": {\"background\": \"#FfFfFf\"}, \"mark\": {\"type\": \"line\", \"point\": false}, \"selection\": {\"region\": {\"type\": \"multi\", \"fields\": [\"areaName\"], \"bind\": \"legend\"}}, \"transform\": [{\"filter\": {\"field\": \"date\", \"range\": [{\"year\": 2020, \"month\": \"sep\", \"date\": 1}, {\"year\": 2050, \"month\": \"dec\", \"date\": 30}]}}], \"encoding\": {\"x\": {\"field\": \"date\", \"type\": \"temporal\", \"title\": null, \"axis\": {\"grid\": false}}, \"y\": {\"field\": \"uniqueCasePositivityBySpecimenDateRollingSum\", \"type\": \"quantitative\", \"title\": null, \"axis\": {\"grid\": false}}, \"color\": {\"field\": \"areaName\", \"type\": \"nominal\", \"scale\": {\"scheme\": \"set1\"}, \"title\": \"Region\", \"legend\": {\"orient\": \"top-right\", \"fillColor\": \"#FfFfFf\"}}, \"opacity\": {\"condition\": {\"selection\": \"region\", \"value\": 1}, \"value\": 0.1}, \"tooltip\": [{\"field\": \"date\", \"type\": \"temporal\", \"title\": \"Date\"}, {\"field\": \"areaName\", \"type\": \"nominal\", \"title\": \"Region\"}, {\"field\": \"uniqueCasePositivityBySpecimenDateRollingSum\", \"type\": \"nominal\", \"title\": \"Positivity rate\", \"format\": \".0f\"}]}}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"description\": \"Coronavirus deaths\", \"title\": {\"text\": \"Deaths\", \"subtitle\": \"Deaths within 28 days of Covid-19 diagnosis, UK Nations.\", \"subtitleFontStyle\": \"italic\", \"subtitleFontSize\": 10, \"anchor\": \"start\", \"color\": \"black\"}, \"data\": {\"url\": \"https://api.coronavirus.data.gov.uk/v2/data?areaType=nation&metric=newCasesByPublishDate&metric=newDeaths28DaysByPublishDate&format=csv\", \"format\": {\"type\": \"csv\"}}, \"height\": 130, \"width\": 120, \"mark\": {\"type\": \"bar\", \"color\": \"#4f009f\"}, \"transform\": [{\"filter\": {\"field\": \"date\", \"range\": [{\"year\": 2020, \"month\": \"feb\", \"date\": 1}, {\"year\": 2050, \"month\": \"dec\", \"date\": 30}]}}], \"encoding\": {\"x\": {\"field\": \"date\", \"type\": \"temporal\", \"title\": null}, \"y\": {\"field\": \"newDeaths28DaysByPublishDate\", \"type\": \"quantitative\", \"title\": null}, \"facet\": {\"field\": \"areaName\", \"type\": \"nominal\", \"columns\": 2, \"title\": null}, \"tooltip\": [{\"field\": \"date\", \"type\": \"temporal\", \"title\": \"Date\"}, {\"field\": \"newDeaths28DaysByPublishDate\", \"type\": \"quantitative\", \"title\": \"Deaths\", \"format\": \",.0f\"}]}, \"resolve\": {\"scale\": {\"y\": \"independent\"}}}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"description\": \"Carbon per capita by country\", \"title\": {\"text\": \"CO2 Emissions\", \"subtitle\": \"Tonnes per capita. Source: Global Carbon Project\", \"subtitleFontStyle\": \"italic\", \"subtitleFontSize\": 10, \"anchor\": \"start\", \"color\": \"black\"}, \"data\": {\"url\": \"https://raw.githubusercontent.com/RDeconomist/observatory/main/Green_CarbonPerCapita.csv\"}, \"height\": 300, \"width\": 300, \"mark\": \"line\", \"encoding\": {\"x\": {\"field\": \"Time\", \"type\": \"temporal\", \"title\": \"\", \"axis\": {\"grid\": false}}, \"y\": {\"field\": \"Value\", \"type\": \"quantitative\", \"title\": \"\", \"axis\": {\"grid\": false}, \"sort\": [], \"scale\": {\"domain\": [-0.25, 25]}}, \"color\": {\"field\": \"Country\", \"title\": null, \"legend\": {\"orient\": \"top-left\"}, \"type\": \"nominal\", \"sort\": [], \"scale\": {\"scheme\": \"yellowgreenblue\"}}, \"tooltip\": [{\"field\": \"Time\", \"type\": \"temporal\", \"timeUnit\": \"year\", \"title\": \"Year\"}, {\"field\": \"Value\", \"type\": \"quantitative\", \"title\": \"CO2 per capita (t)\"}, {\"field\": \"Country\"}]}}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"description\": \"Pollution data using satellite imagary from emissions API. The chart makes two separate API calls, one to get the UK data, and one to get the data for a specific point, in this case the coordinates for the city of Bristol.\", \"title\": {\"text\": \"Ozone - UK vs Bristol\", \"subtitle\": \"Average daily Ozone concentration for the UK (grey) and Bristol (blue)\", \"subtitleFontStyle\": \"italic\", \"subtitleFontSize\": 10, \"anchor\": \"start\", \"color\": \"black\"}, \"width\": 300, \"height\": 350, \"encoding\": {\"x\": {\"field\": \"end\", \"type\": \"temporal\", \"title\": null}, \"y\": {\"field\": \"average\", \"type\": \"quantitative\", \"scale\": {\"domain\": [0.08, 0.25]}, \"title\": null}}, \"layer\": [{\"data\": {\"url\": \"https://api.v2.emissions-api.org/api/v2/ozone/average.json?country=gb&begin=2010-02-01&end=2022-07-01\"}, \"mark\": {\"type\": \"circle\", \"color\": \"grey\", \"opacity\": 0.5}}, {\"data\": {\"url\": \"https://api.v2.emissions-api.org/api/v2/ozone/average.json?point=51.4545%2C2.5879&begin=2019-02-10&end=2021-02-11&limit=100&offset=0\"}, \"mark\": {\"type\": \"circle\", \"color\": \"dodgerblue\", \"opacity\": 0.5}}]}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"description\": \"(F1) Total UK tax revenue\", \"title\": {\"text\": \"Tax revenue\", \"subtitle\": \"\\u00a3 million. Source: ONS\", \"subtitleFontStyle\": \"italic\", \"subtitleFontSize\": 10, \"anchor\": \"start\", \"color\": \"black\"}, \"data\": {\"url\": \"https://raw.githubusercontent.com/RDeconomist/RDeconomist.github.io/main/charts/ukMacro/F1.DataHub.FiscalTaxRev.csv\"}, \"height\": 300, \"width\": 345, \"mark\": {\"type\": \"line\", \"point\": false, \"interpolate\": \"monotone\", \"color\": \"mediumvioletred\"}, \"encoding\": {\"x\": {\"field\": \"Date\", \"type\": \"temporal\", \"axis\": {\"title\": null, \"grid\": false, \"labelSeparation\": 20, \"ticks\": false}}, \"y\": {\"field\": \"Value\", \"type\": \"quantitative\", \"title\": \"\", \"axis\": {\"grid\": false}}, \"tooltip\": [{\"field\": \"Date\", \"type\": \"temporal\"}, {\"field\": \"Value\", \"title\": \"Total revenue (\\u00a3m)\", \"type\": \"quantitative\"}]}}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"description\": \"(F1) Total UK tax revenue\", \"title\": {\"text\": \"Expenditure vs tax revenue\", \"subtitle\": \"\\u00a3 million. Source: ONS\", \"subtitleFontStyle\": \"italic\", \"subtitleFontSize\": 10, \"anchor\": \"start\", \"color\": \"black\"}, \"data\": {\"url\": \"https://raw.githubusercontent.com/RDeconomist/RDeconomist.github.io/main/charts/ukMacro/F1.2.FiscalRevVExp.csv\"}, \"height\": 300, \"width\": 285, \"encoding\": {\"x\": {\"field\": \"Date\", \"type\": \"temporal\", \"axis\": {\"title\": null, \"grid\": false}}}, \"layer\": [{\"encoding\": {\"y\": {\"field\": \"Value\", \"type\": \"quantitative\", \"title\": \"\", \"axis\": {\"grid\": false}}, \"color\": {\"field\": \"Measure\", \"legend\": {\"orient\": \"top-right\"}, \"type\": \"nominal\", \"scale\": {\"range\": [\"mediumvioletred\", \"pink\"]}}}, \"layer\": [{\"mark\": {\"type\": \"line\", \"color\": \"\"}}, {\"transform\": [{\"filter\": {\"selection\": \"hover\"}}], \"mark\": \"point\"}]}, {\"mark\": \"rule\", \"encoding\": {\"opacity\": {\"condition\": {\"value\": 0.1, \"selection\": \"hover\"}, \"value\": 0}, \"tooltip\": [{\"field\": \"Date\", \"type\": \"temporal\", \"format\": \"%B, %Y\"}, {\"field\": \"Value\", \"type\": \"quantitative\", \"format\": \"\"}, {\"field\": \"Measure\", \"type\": \"nominal\", \"format\": \"\"}]}, \"selection\": {\"hover\": {\"type\": \"multi\", \"fields\": [\"Date\"], \"nearest\": true, \"on\": \"mouseover\", \"empty\": \"none\", \"clear\": \"mouseout\"}}}]}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"description\": \"(F2) Total UK expenditure\", \"title\": {\"text\": \"Expenditure\", \"subtitle\": \"\\u00a3 million. Source: ONS\", \"subtitleFontStyle\": \"italic\", \"subtitleFontSize\": 10, \"anchor\": \"start\", \"color\": \"black\"}, \"data\": {\"url\": \"https://raw.githubusercontent.com/RDeconomist/RDeconomist.github.io/main/charts/ukMacro/F2.DataHub.FiscalTotalExpend.csv\"}, \"height\": 300, \"width\": 345, \"mark\": {\"type\": \"line\", \"point\": false, \"interpolate\": \"monotone\", \"color\": \"mediumvioletred\"}, \"encoding\": {\"x\": {\"field\": \"Date\", \"type\": \"temporal\", \"axis\": {\"title\": null, \"grid\": false, \"labelSeparation\": 20, \"ticks\": false}}, \"y\": {\"field\": \"Value\", \"type\": \"quantitative\", \"title\": \"\", \"axis\": {\"grid\": false}}, \"tooltip\": [{\"field\": \"Date\", \"type\": \"temporal\"}, {\"field\": \"Value\", \"title\": \"Total expenditure (\\u00a3m)\", \"type\": \"quantitative\"}]}}"
"{\"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\", \"description\": \"(F3) Current UK budget deficit\", \"title\": {\"text\": \"Budget deficit\", \"subtitle\": \"\\u00a3 million. Source: ONS\", \"subtitleFontStyle\": \"italic\", \"subtitleFontSize\": 10, \"anchor\": \"start\", \"color\": \"black\"}, \"data\": {\"url\": \"https://raw.githubusercontent.com/RDeconomist/RDeconomist.github.io/main/charts/ukMacro/F3.DataHub.FiscalCurrentBudgetDefAnn.csv\"}, \"height\": 300, \"width\": 280, \"encoding\": {\"x\": {\"field\": \"Year\", \"type\": \"temporal\", \"axis\": {\"title\": null, \"grid\": false}}}, \"layer\": [{\"encoding\": {\"y\": {\"field\": \"Value\", \"type\": \"quantitative\", \"title\": \"\", \"scale\": {\"domain\": [-300000, 100000]}, \"axis\": {\"grid\": false}}}, \"layer\": [{\"mark\": {\"type\": \"line\", \"color\": \"mediumvioletred\", \"interpolate\": \"monotone\"}}, {\"transform\": [{\"filter\": {\"selection\": \"hover\"}}], \"mark\": \"point\"}]}, {\"mark\": \"rule\", \"encoding\": {\"opacity\": {\"condition\": {\"value\": 0.1, \"selection\": \"hover\"}, \"value\": 0}, \"tooltip\": [{\"field\": \"Date\", \"type\": \"temporal\", \"format\": \"%B, %Y\"}, {\"field\": \"Value\", \"title\": \"Budget deficit\", \"type\": \"quantitative\", \"format\": \",.0f\"}]}, \"selection\": {\"hover\": {\"type\": \"single\", \"fields\": [\"Year\"], \"nearest\": true, \"on\": \"mouseover\", \"empty\": \"none\", \"clear\": \"mouseout\"}}}, {\"mark\": {\"type\": \"rule\", \"color\": \"darkgrey\", \"size\": 0.75}, \"encoding\": {\"y\": {\"field\": \"Value\", \"type\": \"quantitative\"}}, \"data\": {\"values\": [{\"Value\": \"0\"}]}}]}"