diff --git "a/html/135.html" "b/html/135.html" new file mode 100644--- /dev/null +++ "b/html/135.html" @@ -0,0 +1,265 @@ + +project — Visualizations Only

+51015202530Count of VictimsChange in volume of London homicide cases Over Time20032004200520062007200820092010201120122013201420152016201720182019202020212022YearJanFebMarAprMayJunJulAugSepOctNovDecMonth

{"$schema":"https://vega.github.io/schema/vega-lite/v5.json","height":100,"title":{"text":"Age Group"},"width":120,"data":{"url":"https://10ericb.github.io/data/HomicideVictim.csv","format":{"parse":{"Recorded Date":"date:'%b-%y'"}}},"params":[{"name":"barSelection","select":{"type":"interval","encodings":["x"]}}],"mark":"bar","encoding":{"x":{"field":"Recorded Date","type":"temporal","timeUnit":{"unit":"year"},"title":"Year"},"y":{"field":"Count of Victims","aggregate":"sum","title":"Count of Victims"},"color":{"condition":{"param":"barSelection","field":"Age Group","legend":null},"value":"rgb(206,194,186)"},"column":{"field":"Age Group","header":{"titleFontSize":0}}}}

{"$schema":"https://vega.github.io/schema/vega-lite/v5.json","height":100,"width":120,"title":{"text":"Gender"},"data":{"url":"https://10ericb.github.io/data/HomicideVictim.csv","format":{"parse":{"Recorded Date":"date:'%b-%y'"}}},"params":[{"name":"barSelection","select":{"type":"interval","encodings":["x"]}}],"mark":"bar","encoding":{"x":{"field":"Recorded Date","type":"temporal","timeUnit":{"unit":"year"},"title":""},"y":{"field":"Count of Victims","aggregate":"sum","title":"Count of Victims"},"color":{"condition":{"param":"barSelection","field":"Sex","legend":null},"value":"rgb(206,194,186)"},"column":{"field":"Sex","header":{"titleFontSize":0}}}}

{"$schema":"https://vega.github.io/schema/vega-lite/v5.json","height":100,"title":{"text":"Ethicity"},"width":120,"data":{"url":"https://10ericb.github.io/data/HomicideVictim.csv","format":{"parse":{"Recorded Date":"date:'%b-%y'"}}},"params":[{"name":"barSelection","select":{"type":"interval","encodings":["x"]}}],"mark":"bar","encoding":{"x":{"field":"Recorded Date","type":"temporal","timeUnit":{"unit":"year"},"title":""},"y":{"field":"Count of Victims","aggregate":"sum","title":"Count of Victims"},"color":{"condition":{"param":"barSelection","field":"Officer Observed Ethnicity","legend":null},"value":"rgb(206,194,186)"},"column":{"field":"Officer Observed Ethnicity","header":{"titleFontSize":0}}}}

{"$schema":"https://vega.github.io/schema/vega-lite/v5.json","height":100,"title":{"text":"Incident"},"width":120,"data":{"url":"https://10ericb.github.io/data/HomicideVictim.csv","format":{"parse":{"Recorded Date":"date:'%b-%y'"}}},"params":[{"name":"barSelection","select":{"type":"interval","encodings":["x"]}}],"mark":"bar","encoding":{"x":{"field":"Recorded Date","type":"temporal","timeUnit":{"unit":"year"},"title":""},"y":{"field":"Count of Victims","aggregate":"sum","title":"Count of Victims"},"color":{"condition":{"param":"barSelection","field":"Domestic Abuse","legend":null},"value":"rgb(206,194,186)"},"column":{"field":"Domestic Abuse","header":{"titleFontSize":0}}}}

+ageethnicitygenderDemograpghicSolvedUnsolvedSolved StatusSolved/unsolved cases across different demographics

{"$schema":"https://vega.github.io/schema/vega-lite/v5.json","config":{"view":{"stroke":null},"facet":{"spacing":5}},"title":{"text":"Spread of homicides in different Boroughs over time"},"data":{"url":"https://10ericb.github.io/dataset/Homicide_Victim.csv"},"projection":{"type":"transverseMercator","rotate":{"expr":"[2,0,0]"}},"transform":[{"lookup":"Borough","from":{"data":{"url":"https://gicentre.github.io/data/geoTutorials/londonBoroughs.json","format":{"type":"topojson","feature":"boroughs"}},"key":"id"},"as":"geo"}],"columns":4,"facet":{"field":"Year","header":{"title":null}},"spec":{"width":160,"height":120,"encoding":{"shape":{"field":"geo","type":"geojson"},"color":{"field":"Count of Victims","aggregate":"sum","type":"quantitative","scale":{"scheme":{"name":"reds","extent":[0,1]}},"legend":{"title":"Count of Killing","orient":"none","legendX":500,"legendY":700,"direction":"horizontal"}},"tooltip":[{"field":"Borough"},{"field":"Count of Victims","aggregate":"sum"}]},"mark":"geoshape"}}

\ No newline at end of file