Questions tagged [d3heatmap]

32 questions
6
votes
4 answers

D3: slow zoomable heatmap

I have this zoomable heatmap, which looks too slow when zooming-in or out. Is there anything to make it faster/smoother or it is just too many points and that is the best I can have. I was wondering if there is some trick to make it lighter for the…
Aenaon
  • 3,169
  • 4
  • 32
  • 60
6
votes
2 answers

Interaction between html widgets in R shiny

I am developing an R shiny application that uses several html widgets, notably networkD3, d3heatmap and chorddiag. These widgets work fine separately. However, using them in the same page leave a blank space where they are supposed to be. Here is a…
Yan Holtz
  • 115
  • 1
  • 7
3
votes
2 answers

R Shiny ggiraph and d3heatmap Compatibility Issues

I'm trying to add an interactive heatmap to my Shiny app, but I also have interactive graphs using ggiraph. I'm currently using the d3heatmap package, but the heatmaps don't render in the app. I've created a toy example to illustrate…
Melissa
  • 35
  • 2
3
votes
1 answer

Changing height of d3heatmapOutput() in R Shiny

I'm building a heatmap using R's d3heatmap library: https://cran.r-project.org/web/packages/d3heatmap/d3heatmap.pdf I'd like to be able to allow a user to freely adjust (through the UI) the height = argument in the d3heatmapOutput() function. …
warship
  • 2,924
  • 6
  • 39
  • 65
3
votes
0 answers

save heatmap generated by d3heatmap

I'm trying to save a heatmap produced by d3heatmap to a pdf file, but the file is always damaged. library(d3heatmap) pdf(file="heat.pdf") d3heatmap(mtcars, scale = "column", colors = "Spectral") dev.off() I suspect the challenge is "this is an R…
Eric Green
  • 7,385
  • 11
  • 56
  • 102
3
votes
1 answer

Sort Heatmap with dplyr

I'm working on building an interactive heatmap Shiny app and would like select columns to sort from a drop down menu (example: sort "mpg" or "wt" in mtcars from low to high). I'm implementing the heatmap with the d3heatmap package and want to…
sean
  • 59
  • 5
2
votes
1 answer

Tooltip for D3 Heatmap canvas

Here i'm working on D3 Heatmap with resettable zoom, but i want to add tooltip to view the intensity count. With help of D3 tip, i tried to add tooltip, but don't know how to get the intensity count from canvas, where the heatmap is drawn as an…
Nayana_Das
  • 1,789
  • 4
  • 23
  • 48
1
vote
0 answers

D3 heatmap tooltip bug ~ On mouseover the cursor changes to text cursor icon

Heatmap Cursor Error Heatmap Cursor Correct The first link shows what happens to the cursor on mouseover, this only happens sometimes and not on the whole area of the box. The second link is what should be happening. I'm not sure my error or why…
Stina
  • 11
  • 1
1
vote
1 answer

echarts4r: zoom like in d3heatmap

Is there a way to zoom heatmaps in echarts4r similar to d3heatmap? (https://github.com/rstudio/d3heatmap). The purpose is to use the callbacks in echarts4r to trigger events when clicking and hovering over on the heatmap which d3heatmap doesn't…
Vlad
  • 3,058
  • 4
  • 25
  • 53
1
vote
1 answer

How can I set the background color of a svg element which contains a D3 heat map?

I am building a heat map which displays the tweeting activity of an account during the week. My dataset is made of an array of dictonaries containing the weekday, the hour and the count of how many times the weekday+hour combination repeats. Since…
Stella
  • 11
  • 2
1
vote
0 answers

Mouse over events in d3heatmap plots

I want to create a shiny app that gives the data corresponding to a particular spot in in the heatmap in a separate table. In shiny.ui d3heatmapOutput("HeatPlot", click = "plot1_click" ), tableOutput("Table") And then in the…
rahul yadav
  • 432
  • 3
  • 20
1
vote
0 answers

darker colours in d3heatmap

I made a heatmap in heatmap.2 and d3heatmap with the same parameters and colour scheme; however, heatmap.2 shows much stronger colours while the colours in d3heatmap look washed out. Any idea what I could be doing wrong? hmcol<-…
1
vote
1 answer

Interactive heatmap changing it rows and columns with animation

I want to make a heatmap looks like this one in d3 package in javascript, Is that available in R ? i searched for many packages in htmlwidgets but i couldn't find a package do this graph. Help please. http://bl.ocks.org/ianyfchang/8119685
1
vote
1 answer

Heatmap js min value 0

I am trying to plot the heatmap using 'heatmap js' library . For some value of inputs if the min value is 0 and max value is 1 then whole heatmap will be red instead of plotting actual values. It works fine if the max value is other than 1 (ex. min:…
1
vote
2 answers

Heatmap using custom predefined colours (d3heatmap?)

I am interested in presenting hospital indicators in a heatmap-style. I am using shiny, so I like the look and feel of the interactive d3heatmap()-plots (but am open to alternatives). For example, say I have 4 hospitals and 5 indicators. I want to…
Luc
  • 899
  • 11
  • 26
1
2 3