Comments (7)
Mmm.. I think your 'words' are too long ;). I'm don't know a quick way to fix this because I only use the https://github.com/jasondavies/d3-cloud library and I am not a d3js expert. I don't think this is a bug, may be a extreme/rare case where wordcloud dont fit in the needs.
I will think about this, if I can do something I let you know.
By the way, I tried use the wordcloud package and it says:
wordcloud(names(words),as.numeric(words), scale = c(1.5, 0.25))
Warning messages:
1: In wordcloud(names(words), as.numeric(words), scale = c(1.5, 0.25)) :
CISCO CERTIFIED NETWORK ASSOCIATE could not be fit on page. It will not be plotted.
2: In wordcloud(names(words), as.numeric(words), scale = c(1.5, 0.25)) :
CERTIFIED SERVICE MANAGER (CSM) could not be fit on page. It will not be plotted.
3: In wordcloud(names(words), as.numeric(words), scale = c(1.5, 0.25)) :
CISCO CERTIFIED NETWORK PROFESSIONAL (CCNP) could not be fit on page. It will not be plotted.
from d3wordcloud.
@jbkunst Thanks! The wordcloud package works fine for me. My guess is that your screen has a lower resolution than mine (or something like that)
from d3wordcloud.
@ignacio82 sure, this must be it.
from d3wordcloud.
is there a bug fix? I just tried and I get the same behavior.
from d3wordcloud.
Oops, Not yet.
I'm just noticed the discuss on jasondavies/d3-cloud#36. I dont know if the solutions presented in that issue are easy to implement. I'll check, so if there are an easy one I'll implement in other case we close the issue.
from d3wordcloud.
Ok, the simple solution I found it was add a resize parameter. Check here.
Tell me if it helps.
from d3wordcloud.
@jbkunst looks great! Thanks!
from d3wordcloud.
Related Issues (20)
- add scale parameter just like jason davis' demo HOT 1
- Conflict when using d3wordcloud with networkD3 HOT 5
- Wordcloud to be redrawn on shiny app resize HOT 2
- OnClick functionality ? HOT 4
- arguments imply differing number of rows HOT 5
- Error with d3wordcloud an hiden {.tabset} HOT 18
- study the resize functionality
- How to use it in html with JS? HOT 1
- tooltip location with Shiny
- Style clobbering HOT 2
- Word Cloud not updating when using a subset of inputs HOT 6
- Save wordcloud as png
- Unexpected Behavior (overlap and not disappear) HOT 4
- d3wordcloud’ is not available (for R version 3.5.1) HOT 3
- Add other fonts from https://www.google.com/fonts HOT 2
- require explicit col names of "word" and "freq" in input data frame HOT 1
- is it possible to change word colors? HOT 3
- tooltip? HOT 3
- Possible to add filter to the plot? HOT 1
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 d3wordcloud.