Code to help with the re-arranging of my life in 2024.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

10 lines
4.9 KiB

<html><head><style>html{
height: 100%;
}
html body{
height: 100%;
display: flex;
justify-content: center;
align-items: center;
}</style><script type='text/javascript' src='https://cdn.jsdelivr.net/npm/vega@5'></script><script type='text/javascript' src='https://cdn.jsdelivr.net/npm/vega-lite@5'></script><script type='text/javascript' src='https://cdn.jsdelivr.net/npm/vega-embed@6'></script></head><body><div id='vis'></div><script>var spec = {"data":{"values":[{"rowId":17,"rawListingInfo":"£775/month per roomMiddlewood Street, Salford, M5 4YW, UK","rent":775,"location":"Middlewood Street Salford M5 4YW UK","url":"https://www.idealflatmate.co.uk/spare-room/salford/property-id120129"},{"rowId":16,"rawListingInfo":"£725/month per roomSalford M5 4YW, UK","rent":725,"location":"Salford M5 4YW UK","url":"https://www.idealflatmate.co.uk/spare-room/salford/property-id120128"},{"rowId":15,"rawListingInfo":"£708 - £709/month per roomSalford M5 4YW, UK","rent":708,"location":"Salford M5 4YW UK","url":"https://www.idealflatmate.co.uk/spare-room/salford/property-id120127"},{"rowId":14,"rawListingInfo":"£678 - £679/month per roomSalford M5 4YW, UK","rent":678,"location":"Salford M5 4YW UK","url":"https://www.idealflatmate.co.uk/spare-room/salford/property-id120131"},{"rowId":13,"rawListingInfo":"£980/month per room7 Symphony Park, Manchester M1 7GB, UK","rent":980,"location":"7 Symphony Park Manchester M1 7GB UK","url":"https://www.idealflatmate.co.uk/spare-room/manchester/property-id121030"},{"rowId":12,"rawListingInfo":"£956 - £957/month per room7 Symphony Park, Manchester M1 7GB, UK","rent":956,"location":"7 Symphony Park Manchester M1 7GB UK","url":"https://www.idealflatmate.co.uk/spare-room/manchester/property-id121034"},{"rowId":11,"rawListingInfo":"£850/month per room7 Symphony Park, Manchester M1 7GB, UK","rent":850,"location":"7 Symphony Park Manchester M1 7GB UK","url":"https://www.idealflatmate.co.uk/spare-room/manchester/property-id121032"},{"rowId":10,"rawListingInfo":"£850/month per room7 Symphony Park, Manchester M1 7GB, UK","rent":850,"location":"7 Symphony Park Manchester M1 7GB UK","url":"https://www.idealflatmate.co.uk/spare-room/manchester/property-id121033"},{"rowId":9,"rawListingInfo":"£480/month per roomGreater Manchester, Manchester, M31 4HZ, 296, UK","rent":480,"location":"Greater Manchester Manchester M31 4HZ 296 UK","url":"https://www.idealflatmate.co.uk/auth/signup?f=b&uid=210168&pid=122962"},{"rowId":8,"rawListingInfo":"£580/month per roomJoshua Grange, Pluto Cl, Salford M6 6HF, UK","rent":580,"location":"Joshua Grange Pluto Cl Salford M6 6HF UK","url":"https://www.idealflatmate.co.uk/auth/signup?f=b&uid=242365&pid=123025"},{"rowId":7,"rawListingInfo":"£480/month per roomGreater Manchester, Manchester, M31 4HZ, 296, UK","rent":480,"location":"Greater Manchester Manchester M31 4HZ 296 UK","url":"https://www.idealflatmate.co.uk/spare-room/manchester/property-id122962"},{"rowId":6,"rawListingInfo":"£580/month per roomJoshua Grange, Pluto Cl, Salford M6 6HF, UK","rent":580,"location":"Joshua Grange Pluto Cl Salford M6 6HF UK","url":"https://www.idealflatmate.co.uk/spare-room/salford/property-id123025"},{"rowId":5,"rawListingInfo":"£488/month per roomJoshua Grange, Pluto Cl, Salford M6 6HF, UK","rent":488,"location":"Joshua Grange Pluto Cl Salford M6 6HF UK","url":"https://www.idealflatmate.co.uk/spare-room/salford/property-id122929"},{"rowId":3,"rawListingInfo":"£746 - £750/month per roomSalford, M5 4ZF, UK","rent":746,"location":"Salford M5 4ZF UK","url":"https://www.idealflatmate.co.uk/spare-room/salford/property-id122936"},{"rowId":2,"rawListingInfo":"£841 - £842/month per roomMiddlewood Street, Salford, M5 4YW, UK","rent":841,"location":"Middlewood Street Salford M5 4YW UK","url":"https://www.idealflatmate.co.uk/spare-room/salford/property-id120130"},{"rowId":1,"rawListingInfo":"£740/month per roomChapel Street, Salford M3 5DZ, UK","rent":740,"location":"Chapel Street Salford M3 5DZ UK","url":"https://www.idealflatmate.co.uk/spare-room/manchester/property-id113378"},{"rowId":0,"rawListingInfo":"£690/month per roomChapel Street, Salford M3 5DZ, UK","rent":690,"location":"Chapel Street Salford M3 5DZ UK","url":"https://www.idealflatmate.co.uk/spare-room/manchester/property-id113377"}]},"$schema":"https://vega.github.io/schema/vega-lite/v5.json","title":"Rent Rates for Manchester on Ideal Flatmate (24/02/2024)","width":600,"height":600,"layer":[{"mark":{"type":"bar"},"encoding":{"x":{"field":"rowId","title":"Assigned Id.","type":"nominal","axis":{"labelAngle":0}},"y":{"field":"rent","title":"Rent (£)","type":"quantitative"},"tooltip":{"field":"rent"}}},{"mark":{"type":"rule","color":"darkorange","size":3},"encoding":{"y":{"field":"rent","type":"quantitative","aggregate":"average"},"tooltip":{"field":"rent","type":"quantitative","aggregate":"average"}}}]}; vegaEmbed("#vis", spec).then(result => console.log(result)).catch(console.warn);</script></body></html>