diff --git "a/html/270.html" "b/html/270.html" new file mode 100644--- /dev/null +++ "b/html/270.html" @@ -0,0 +1,313 @@ + +
{"$schema":"https://vega.github.io/schema/vega-lite/v5.json","title":{"text":"Bicycle Use during pre-COVID, COVID and post-COVID periods"},"width":640,"data":{"url":"https://raw.githubusercontent.com/Anzi85/DV_Project/main/Monthly_Bike_Rental.json"},"encoding":{"x":{"field":"Month","type":"temporal"},"y":{"field":"Number of Bike Rental","type":"quantitative"}},"mark":{"type":"bar","tooltip":{"content":"encoding"}}}
+
+
{"$schema":"https://vega.github.io/schema/vega-lite/v5.json","title":{"text":"Bicycle Hire Usage in London"},"width":640,"height":480,"config":{"view":{"stroke":null},"legend":{"orient":"bottom-right","offset":0}},"layer":[{"data":{"url":"https://gicentre.github.io/data/geoTutorials/londonBoroughs.json","format":{"type":"topojson","feature":"boroughs"}},"mark":{"type":"geoshape","fill":"#ddd","stroke":"white"}},{"data":{"url":"https://gicentre.github.io/data/geoTutorials/londonCentroids.csv"},"transform":[{"lookup":"FID","from":{"data":{"values":[{"borough":"Kingston upon Thames","Number of Bike Rental":85883},{"borough":"Croydon","Number of Bike Rental":0},{"borough":"Bromley","Number of Bike Rental":0},{"borough":"Hounslow","Number of Bike Rental":0},{"borough":"Ealing","Number of Bike Rental":0},{"borough":"Havering","Number of Bike Rental":0},{"borough":"Hillingdon","Number of Bike Rental":0},{"borough":"Harrow","Number of Bike Rental":0},{"borough":"Brent","Number of Bike Rental":0},{"borough":"Barnet","Number of Bike Rental":0},{"borough":"Lambeth","Number of Bike Rental":2627073},{"borough":"Southwark","Number of Bike Rental":1927209},{"borough":"Lewisham","Number of Bike Rental":0},{"borough":"Greenwich","Number of Bike Rental":0},{"borough":"Bexley","Number of Bike Rental":0},{"borough":"Enfield","Number of Bike Rental":0},{"borough":"Waltham Forest","Number of Bike Rental":0},{"borough":"Redbridge","Number of Bike Rental":0},{"borough":"Sutton","Number of Bike Rental":0},{"borough":"Richmond upon Thames","Number of Bike Rental":0},{"borough":"Merton","Number of Bike Rental":0},{"borough":"Wandsworth","Number of Bike Rental":1943376},{"borough":"Hammersmith and Fulham","Number of Bike Rental":2151433},{"borough":"Kensington and Chelsea","Number of Bike Rental":3955306},{"borough":"Westminster","Number of Bike Rental":7233283},{"borough":"Camden","Number of Bike Rental":2703958},{"borough":"Tower Hamlets","Number of Bike Rental":3849227},{"borough":"Islington","Number of Bike Rental":1383803},{"borough":"Hackney","Number of Bike Rental":2049065},{"borough":"Haringey","Number of Bike Rental":0},{"borough":"Newham","Number of Bike Rental":38728},{"borough":"Barking and Dagenham","Number of Bike Rental":0},{"borough":"City of London","Number of Bike Rental":1469176}]},"key":"borough","fields":["Number of Bike Rental"]}}],"encoding":{"longitude":{"field":"cx"},"latitude":{"field":"cy"},"size":{"field":"Number of Bike Rental","scale":{"range":[0,1000],"type":"pow","exponent":1.1627906976744187}},"tooltip":[{"field":"FID"},{"field":"Number of Bike Rental"}]},"mark":{"type":"circle","opacity":0.5}}]}
{"$schema":"https://vega.github.io/schema/vega-lite/v5.json","title":{"text":"Bicycle Use during pre-COVID, COVID and post-COVID periods"},"width":1000,"data":{"url":"https://raw.githubusercontent.com/Anzi85/DV_Project/main/Monthly_Bike_Rental.json"},"params":[{"name":"measure","value":"Number of Bike Rental","bind":{"input":"select","name":"Bicycle use: ","options":["Number of Bike Rental","Average Hire Time (Mins)"]}}],"transform":[{"calculate":"datum[measure]","as":"y"}],"encoding":{"x":{"field":"Month","type":"temporal","title":""},"y":{"field":"y","type":"quantitative","title":"Bicycle use"}},"mark":"line"}
+
+
{"$schema":"https://vega.github.io/schema/vega-lite/v5.json","title":{"text":"Bicycle Hire Usage in London"},"width":600,"height":450,"config":{"view":{"stroke":null},"legend":{"orient":"bottom-right","offset":0}},"data":{"url":"https://gicentre.github.io/data/geoTutorials/londonBoroughs.json","format":{"type":"topojson","feature":"boroughs"}},"transform":[{"lookup":"id","from":{"data":{"values":[{"borough":"Kingston upon Thames","Number of Bike Rental":85883},{"borough":"Croydon","Number of Bike Rental":0},{"borough":"Bromley","Number of Bike Rental":0},{"borough":"Hounslow","Number of Bike Rental":0},{"borough":"Ealing","Number of Bike Rental":0},{"borough":"Havering","Number of Bike Rental":0},{"borough":"Hillingdon","Number of Bike Rental":0},{"borough":"Harrow","Number of Bike Rental":0},{"borough":"Brent","Number of Bike Rental":0},{"borough":"Barnet","Number of Bike Rental":0},{"borough":"Lambeth","Number of Bike Rental":2627073},{"borough":"Southwark","Number of Bike Rental":1927209},{"borough":"Lewisham","Number of Bike Rental":0},{"borough":"Greenwich","Number of Bike Rental":0},{"borough":"Bexley","Number of Bike Rental":0},{"borough":"Enfield","Number of Bike Rental":0},{"borough":"Waltham Forest","Number of Bike Rental":0},{"borough":"Redbridge","Number of Bike Rental":0},{"borough":"Sutton","Number of Bike Rental":0},{"borough":"Richmond upon Thames","Number of Bike Rental":0},{"borough":"Merton","Number of Bike Rental":0},{"borough":"Wandsworth","Number of Bike Rental":1943376},{"borough":"Hammersmith and Fulham","Number of Bike Rental":2151433},{"borough":"Kensington and Chelsea","Number of Bike Rental":3955306},{"borough":"Westminster","Number of Bike Rental":7233283},{"borough":"Camden","Number of Bike Rental":2703958},{"borough":"Tower Hamlets","Number of Bike Rental":3849227},{"borough":"Islington","Number of Bike Rental":1383803},{"borough":"Hackney","Number of Bike Rental":2049065},{"borough":"Haringey","Number of Bike Rental":0},{"borough":"Newham","Number of Bike Rental":38728},{"borough":"Barking and Dagenham","Number of Bike Rental":0},{"borough":"City of London","Number of Bike Rental":1469176}]},"key":"borough","fields":["Number of Bike Rental"]}}],"encoding":{"color":{"field":"Number of Bike Rental","type":"quantitative","title":"Bike Hire Usage"},"tooltip":[{"field":"id"}]},"mark":{"type":"geoshape","stroke":"white"}}
+
+
+
{"$schema":"https://vega.github.io/schema/vega-lite/v5.json","title":{"text":"Annual Bicycle Usage Change"},"width":1000,"height":618.0469715698392,"transform":[{"calculate":"quarter(datum.Month)","as":"quarter"}],"data":{"url":"https://raw.githubusercontent.com/Anzi85/DV_Project/main/Monthly_Bike_Rental.json"},"params":[{"name":"mySelection","value":1,"select":{"type":"point","fields":["quarter"]},"bind":{"input":"range","name":"Quarter to highlight","min":1,"max":4,"step":1}}],"encoding":{"x":{"field":"Month","type":"temporal","axis":{"title":"","grid":false}},"y":{"field":"Number of Bike Rental","type":"quantitative","axis":{"grid":false}},"opacity":{"condition":{"param":"mySelection","empty":false,"value":1},"value":0.1}},"mark":"circle"}
| Borough | +year | +NBR | +
|---|---|---|
| Kingston upon Thames | +2019 | +37947 | +
| Kingston upon Thames | +2020 | +23873 | +
| Kingston upon Thames | +2021 | +24063 | +
| Croydon | +2019 | +0 | +
| Croydon | +2020 | +0 | +
| : | +: | +: | +
99 rows and 3 columns in total.
++