256 search results for "heatmap"

The hourly heatmap with ggplot2

November 30, 2016
By
The hourly heatmap with ggplot2

a quick follow up to my last post - I’ve had a few folk get in touch following my last post, all commenting on the last plot : Most of these enquiries went along the following lines: “I hadn’t thought of doing that. It looks really ...

Read more »

How to make a simple heatmap in ggplot2

November 15, 2016
By
How to make a simple heatmap in ggplot2

In the world of data visualization, the heatmap is underrated and underutilized. It has limitations, but overall, it’s an excellent tool in your data science and data visualization toolkit. After you’ve mastered the foundational visualization techniques (you can write the code for the basic plots in your sleep, right?), you should learn the heatmap.   The post

Read more »

Make Easy Heatmaps to Visualize your Turnaround Times

Make Easy Heatmaps to Visualize your Turnaround Times

The Problem In two previous posts, I discussed visualizing your turnaround times (TATs). These posts are here and here. One other nice way to visualize your TAT is by means of a heatmap. In particular, we would like to look at the TAT for every hour of the week in a single figure. This manner … Continue...

Read more »

Best way to draw heatmap for publication

July 8, 2016
By

Here are two tips I can share if you were also working on a big dataset towards a high quality heatmap:1. Don't generate PDF using pheatmap() or heatmap.2() as (i) the file is unnecessarily SUPER large if you have a lot of data points in the heatmap, s...

Read more »

heatmaply: interactive heat maps (with R)

May 31, 2016
By

I am pleased to announce heatmaply, my new R package for generating interactive heat maps, based on the plotly R package. tl;dr By running the following 3 lines of code: install.packages("heatmaply") library(heatmaply) heatmaply(mtcars, k_col = 2, k_row = 3) %>% layout(margin = list(l = 130, b = 40)) You will get this output in your browser … Continue reading...

Read more »

Making Faceted Heatmaps with ggplot2

February 14, 2016
By
Making Faceted Heatmaps with ggplot2

We were doing some exploratory data analysis on some attacker data at work and one of the things I was interested is what were “working hours” by country. Now, I don’t put a great deal of faith in the precision of geolocated IP addresses since every geolocation database that exists thinks I live in Vermont

Read more »

Fun with Heatmaps and Plotly

December 29, 2015
By

Just because we all like numbers doesn’t mean we can’t have some fun. Here’s to wishing to everyone a very Happy New Year ! # install.packages("jpeg") library(jpeg) library(plotly) # Download a jpeg file from imgur URL <- "http://i.imgur.com/FWsFq6r.jpg" file <- tempfile() download.file(URL, file, mode = "wb") # Read in JPEG file j <- readJPEG(file) j

Read more »

Visualising thefts using heatmaps in ggplot2

August 17, 2015
By
Visualising thefts using heatmaps in ggplot2

This is a continuation of my previous article, where I gave a basic overview of how to construct heatmaps in R. Here, I will show you how to use R packages to build a heatmap on top of the map of Chicago to see which areas have the most amount of crime. We will require

Read more »

d3heatmap: Interactive heat maps

June 24, 2015
By
d3heatmap: Interactive heat maps

We’re pleased to announce d3heatmap, our new package for generating interactive heat maps using d3.js and htmlwidgets. Tal Galili, author of dendextend, collaborated with us on this package. d3heatmap is designed to have a familiar feature set and API for anyone who has used heatmap or heatmap.2 to create static heatmaps. You can specify dendrogram, clustering, and scaling options

Read more »

Cohort Analysis with Heatmap

Cohort Analysis with Heatmap

Previously I shared the data visualization approach for descriptive analysis of progress of cohorts with the “layer-cake” chart (part I and part II). In this post, I want to share another interesting visualization that not only can be used for descriptive analysis as well but would be more helpful for analyzing a large number of cohorts.... Read More »

Read more »

Sponsors

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)