In my previous post, I showed how poorer children are more likely to be fat.
Think about how your graphics look on a mobile phone before you publish them.
I didn’t do this properly with my last post – I published it first and then checked how it looked on mobile.
That isn’t the best approach – and it won’t be necessary now that I can edit this site through my mobile phone using WordPress’s Jetpack feature. (I’ve also settled the overall theme of the site for now too, which helps).
The code in R that I used to format my chart reads like this (with scales and ggplot2 packages installed):
Those last lines with element_text controls text size. This is very important because if your axes are too small on mobile, it’s too difficult to understand.
Here’s how it looked first time round: on mobile, with smaller settings:
Not bad, but those axes are too small. Here is how it looks after some tinkering with the element_text to make the various text bigger: