I came up with a weekly R challenge as a way to “force” myself into learning new things. One figure, every week! The catch is that every time I should be trying something new… maybe I’ll use a new type of visualization, or maybe I’ll explore a new dataset. Initially I thought it would be neat if there was some unifying topic, e.g. water, but, then I decided to keep it open.
Weekly R challenge, Entry #3
I moved to Aalborg (Denmark) on Thursday last week (17 Jan) and on the next morning I had my 1st job interview. Couple of hours later I got a phone call from the boss, who told me that I was very (or maybe it was “most”) qualified for the position, but they needed someone who could communicate in Danish now. I wasn’t really surprised that I didn’t get the job. The project/program is mid-way, and there is no time/resources/patience to wait for me to improve and start speaking Danish. Hiring someone who’s not fluent in the working language would mean also revising all written reports, and covering the oral presentations… for the first few months. The experience was a good practice and maybe one day I’ll work with the people who interviewed me, but the big take-home message is: no Danish, no job. This reaffirmed my plan to spend the next couple of months actively learning Danish and getting back into the national policy and other water/environment documents.
For this week’s challenge, I decided to continue with the water consumption data (last week: Bulgaria & Singapore), but to check out also the most recent DANVA benchmarking report. DANVA stands for Danish Water and Wastewater Association, which is the national industry and stakeholder organisation of Danish water and wastewater utilities. Information about the benchmarking can be found here.
I am keeping the color scheme and the y-axis scale the same as last week, but i am trying symbols
graph type with squares
. Each square’s side equals to the water consumption for the specific year. The sizes are scaled so the largest data-point is an inch. The largest water consumption in the period was in 2013, so the largest square is in 2013. More about the Danish water consumption → after the graph.

For this week’s graph, I used the official Danish statistic (dk: Danmarks Statistik) on:
- Households’ consumption of water (Physical water accounts) for the period 2010-2016, given in 1000 m3. The data can be downloaded from here (dk: Forbrug af vand, Fysiske vandregnskab).
- Population figures from the censuses (for the entire country). It can be downoaded from here (dk: Folketal, summariske tal fra folketællinger)
I couldn’t find calculated consumption in liters per capita per day, so I calculated it from the available data. Of course, this is quite rough estimate, which is nearly the same as the estimate by DANVA (see below).
The new for me thing is using symbols
plot. I had no idea that you can plot multivariate data with it. It alows for: circles
(bubble chart), squares
, rectangles
, stars
, thermometers
, and boxplots
. I’m quite curious how the thermometers
look like, so I may be testing it when the appropriate dataset comes along. I was more interested in getting interesting visual representation, than in the informativeness of the figure.
From the graph is visible that the water consumption in 2016 was the lowest in the period, also after 2013 it has been steadily decreasing. Danmark Statistik does not provide the numbers for pre-2010 water consumption, so unfortunately, that’s all we can say about these 7 data-points.
DANVA benchmarking report (which is based on 52 water supplying companies, representing 3.2 million users) gives that in 2016 the water consumption was 104 l/cap/day1. My calculation gives 101 l/cap/day, which is pretty close to DANVA’s estimate. In the newest DANVA benchmarking report2 it’s written that the water consumption in 2017 was 103 l/cap/day, while in 1987 this number was 172 l/cap/day, which is a 40% decrease for 31 years (p.7, Vand i Tal 2018 by DANVA). See the translation of this part of the report in my next blog-post.
That’s all!
Leave a Reply