How to use to facet_wrap in ggplot2

This tutorial will teach you how to use facet_wrap to create small multiple charts in ggplot2. The small multiple design is an incredibly powerful (and underused) data visualization technique. facet_wrap is great, because it enables you to create small multiple charts easily and effectively. It makes it easy to create small multiple charts. Having said … Read more

How to use geom_line in ggplot2

This tutorial will show you how to use geom_line to create line charts with ggplot2. Using geom_line is fairly straight forward if you know ggplot2. But if you’re a relative beginner to ggplot, it can be a little intimidating. That being said, I’m going to walk you through the syntax step by step. We’ll first … Read more

How to create a crime heatmap in R

As you’re learning data science, you ultimately need to learn several different toolkits. You need to learn the tools of data visualization. You need to learn the tools of data manipulation. You also need a variety of other tools for specialized tasks, like geospatial visualization, machine learning, and others. Here at Sharp Sight, we have … Read more

How to make a density plot in R

A "polished" r density plot made with ggplot2, without a title or axis titles.

For many data scientists and data analytics professionals, as much as 80% of their work is data wrangling and exploratory data analysis. Of course, everyone wants to focus on machine learning and advanced techniques, but the reality is that a lot of the work of many data scientists is a little more mundane. That isn’t … Read more

How much data science do you actually remember?

How many data science books have you read? 5? 10? A few dozen? How many free online courses have you taken? A few? How many blog posts have you read? (I’d be willing to bet: you’ve read dozens.) If you’re like most budding data scientists, you’ve probably consumed a lot of material. You probably even … Read more