Cool post. Just a suggestion: it’s much easier to play around with what you’ve made if you include the code as text, rather than as an image. I know Medium is somewhat limited in its ability to embed code (it doesn’t have syntax highlighting), but you can use a code chunk by surrounding it by back-ticks, or embed a gist. The format of the output is less important, since if you have the code, you can generate it yourself!
Keep on blogging R fun! 👍