Comments (4)
Actually, I see that d3heatmap seems to work just fine in flexdashboard in tandem with plotly and metricsgraphics, so this may be an issue for scatterD3 instead.
from d3heatmap.
This happens because scatterD3 uses D3.js version 4.x,, while d3heatmap uses version 3.x. If both widgets are in the same page, htmlwidgets loads only the latest D3 version, 4.x. This leaves d3heatmap broken. There are two options: either d3heatmap is upgraded to D3 version 4, or scatterD3 uses a custom bundle of D3 in an own namespace.
from d3heatmap.
Shoot. I think d3 v3 and d3 v4 can actually exist side-by-side, but, because they use the same name "d3"
htmltools/htmlwidgets assumes that they are substitutes. One fix would be to change the name of the latter to d3v4
, but that's something that everyone that bundles d3 v4 would have to standardize on.
Another possibility would be for scatterD3 to "compile in" its copy of d3 v4 using browserify or webpack--it was my understanding that this is how d3 v4 was designed to be used. If that was the case then there would be no separate d3
dependency at all for d3 v4.
from d3heatmap.
I have this same issue (i.e., the d3heatmap image will not render - however the title of the heat map does render) when using both the networkD3 and d3heatmap packages in an R Shiny app.
Are there plans to fix this issue (assuming the problem is due to d3heatmap using an older version of D3.js, whereas other packages are using newer/the most recent version of D3.js)?
from d3heatmap.
Related Issues (20)
- duplicate row labels re-aligns entire row labels
- Under rmarkdown d3heatmap only renders when returned to the top level
- Color row and column label text
- Change name of column and row in the tooltip HOT 5
- missing file link ‘shinyWidgetOutput’ HOT 3
- Print Cell Labels in Heatmap HOT 5
- Colors not being mapped correctly HOT 3
- heatmapcore.js uncaught TypeError
- additional margin space for longer labels HOT 3
- specify that zero values get neutral color in diverging data HOT 3
- self.getId(el) is not a function HOT 2
- x must be numeric problem in d3heatmap shiny
- Consolidated PR and CRAN update HOT 3
- Highlight multiple columns/rows
- Can't control the color representation with set data range
- Column name on the top of the heatmap? HOT 2
- Couldn't get a file descriptor referring to the console
- row names no longer appear after dplyr manipulation
- D3heatmap redifining print function for characters and numerics HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from d3heatmap.