Git Product home page Git Product logo

Comments (7)

jbkunst avatar jbkunst commented on May 27, 2024

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.

ignacio82 avatar ignacio82 commented on May 27, 2024

@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.

jbkunst avatar jbkunst commented on May 27, 2024

@ignacio82 sure, this must be it.

from d3wordcloud.

ignacio82 avatar ignacio82 commented on May 27, 2024

is there a bug fix? I just tried and I get the same behavior.

from d3wordcloud.

jbkunst avatar jbkunst commented on May 27, 2024

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.

jbkunst avatar jbkunst commented on May 27, 2024

@ignacio82

Ok, the simple solution I found it was add a resize parameter. Check here.

Tell me if it helps.

from d3wordcloud.

ignacio82 avatar ignacio82 commented on May 27, 2024

@jbkunst looks great! Thanks!

from d3wordcloud.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.