Visualizing Home Ownership With Small Multiples And R

If everybody had an ocean, across the U.S.A., then everybody’d be surfin’ like California (Beach Boys, Surfin’ U.S.A.)

home_ownership

I was invited to write a post for Domino Data Lab, a company based in California which provides a cloud-based machine learning platform which enables companies to use the power of the cloud to build analytical projects. I also discovered recently this book which support the premises of companies like Domino Data Lab which are leading the change in the way of doing data science. How I wish to forget in the future expressions like execution time, update versions and memory limit!

Since I like a lot Small multiples, I decided to plot the evolution of homeownership across the United States (the more I use GridExtra package the more I like it). You can read the post here (code included).

By the way, if you want to go to Gigaom Structure Data 2015 for free, Domino Data Lab is giving away 2 tickets here.

3 thoughts on “Visualizing Home Ownership With Small Multiples And R

  1. nice post but using gridextra is way too complicated! After you import your data, just use facet_wrap:

    ggplot(data, aes(year, data, group = stabb, fill=stabb))+
    geom_ribbon(aes(ymin=50, ymax=data), fill= “dodgerblue”, colour = “dodgerblue4”)+facet_wrap(~stabb,ncol=10)

    and that is it!

    1. Yes. I am used to gridExtra because is more flexible than facet_wrap to add text and to manage the size of tiles. But you are right: in this particular case facet_wrap is simpler to use. Thanks a lot for your comment.

Leave a Reply

Your email address will not be published. Required fields are marked *