|
|
|
@ -53,6 +53,7 @@ this up would take to long, for little gain.
|
|
|
|
|
| Right Move | 121 | 1204 | £275–£1500 | 945 | 1495 | |
|
|
|
|
| Spare Room | 647 | 589 | £100–£1260 | 300 | 1260 | |
|
|
|
|
| Ideal Flatmate | 17 | 714 | £200–£1200 | 480 | 956 | |
|
|
|
|
| Roomies | 16 | 641 | £0–£1200 | 400 | 1000 | |
|
|
|
|
| | | | | | | |
|
|
|
|
|
|
|
|
|
#+begin_src lisp :var table=manc-avg-rent :results output raw |
|
|
|
@ -74,16 +75,16 @@ this up would take to long, for little gain.
|
|
|
|
|
[[file:working-data/manc-avg-rent-feb-2024.csv]] |
|
|
|
|
|
|
|
|
|
#+begin_src lisp :results file |
|
|
|
|
(let* ((values (lisp-stat:plist-df `(:x-axis #("Right Move" "Spare Room" "Ideal Flatmate") |
|
|
|
|
:y-axis #(1204 589 714))))) |
|
|
|
|
(let* ((values (lisp-stat:plist-df `(:x-axis #("Right Move" "Spare Room" "Ideal Flatmate" "Roomies") |
|
|
|
|
:y-axis #(1204 589 714 641))))) |
|
|
|
|
(vega:defplot manc-avg-rent |
|
|
|
|
`(:title "Average Rent Rates Manchester Feb. 2024" |
|
|
|
|
`(:title "Monthly Average Rent Rates (Bills Inc.) Manchester Feb. 2024" |
|
|
|
|
:mark :bar |
|
|
|
|
:width 600 |
|
|
|
|
:height 600 |
|
|
|
|
:data ,values |
|
|
|
|
:encoding (:x (:field :x-axis :title "Company" :type :nominal :axis ("labelAngle" 0)) |
|
|
|
|
:y (:field :y-axis :title "Rent Average (£)" :type :quantitative) |
|
|
|
|
:y (:field :y-axis :title "Rent (£)" :type :quantitative) |
|
|
|
|
:tooltip (:field :y-axis)))) |
|
|
|
|
(vega:write-html manc-avg-rent "renders/manc-rent-averages-feb-2024.html")) |
|
|
|
|
#+end_src |
|
|
|
@ -91,4 +92,14 @@ this up would take to long, for little gain.
|
|
|
|
|
#+RESULTS: |
|
|
|
|
[[file:renders/manc-rent-averages-feb-2024.html]] |
|
|
|
|
|
|
|
|
|
To save time, copying and pasting over the PNG file, just run this. Make sure |
|
|
|
|
the HTML version of the chart saves the exported PNG file to your =~/Downloads/= |
|
|
|
|
directory. |
|
|
|
|
|
|
|
|
|
#+begin_src shell |
|
|
|
|
mv ~/Downloads/visualization.png ./renders/manc-rent-averages-feb-2024.png |
|
|
|
|
#+end_src |
|
|
|
|
|
|
|
|
|
#+RESULTS: |
|
|
|
|
|
|
|
|
|
[[file:./renders/manc-rent-averages-feb-2024.png]] |
|
|
|
|