Giter Club home page Giter Club logo

d3-wordcloud's People

Contributors

hsiaoyi0504 avatar olitomlinson avatar teddybear06 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

d3-wordcloud's Issues

not showing highest occurrence text

Hello and congratulations for your work...really helpful!
I was wondering if you can come up with a solution in a problem i am facing...
My data consists of 28 words where the word with the highest score is almost 90 times more frequent than the one with the lowest and twice more frequent than the one in the second position...
e.g. text:"Audi",size:"100405" , text:"BMW",size:"54882",.....,text:"FIAT",size:"1173". The problem is that the word cloud works fine but it does not include the word with the highest occurrence (in this example Audi). The word with the biggest font size will be BMW and Audi will be absent...After reloading the script a bunch of times "Audi" appears, but shouldn't this happen during the first load of the page? does this happen due to false parameter settings?
Thank you very much in advance!

Rotation

How to prevent the words to rotate?

Fixed place for words

Every new chart render brings new placement of words inside a chart.
How to get the same look of chart from render to render with the same text?

Font size differs from render to render

It's very noticable for "service" word.
Scale is different in <g> tag, "transform" attribute
Text used for chart:
"Great service. Kept ringing. Good data plan for my business needs. Great service. I can't complain. I would like the latest and greatest and it doesn't offer that. Slow service as well. They do a wonderful job. OK. Excellent service! Settle claims quickly. Every single problem has always been solved promptly. Accessibility, responsiveness, professionalism, and knowledge. Not so sure I liked the service."

default
default

Thanks, Oleksiy

Text is too long

The text is too long. Although part of the text is not displayed, the prompt box is still displayed outside the canvas. Can you make the prompt box inside the canvas

文字过长,虽然部分不显示,但是提示框还是显示在画布外了,能让提示框在画布内吗

syntax error in d3 script

I am getting this syntax error when I load the d3 lib

Uncaught SyntaxError: Invalid or unexpected token d3.js:1193

which is this line

var π = Math.PI, τ = 2 * π, halfπ = π / 2, ε = 1e-6, ε2 = ε * ε, d3_radians = π / 180, d3_degrees = 180 / π;

hmmm any idea? 🤔🤔

thx

interactive word cloud

How do I give an option to edit the word on word click, can you give me some pointers.

Only Vertical and Horizontal Word

Is there a way to set the Rotation parameter so the words stay only Vertical / Horizontal ?
I tried to change the code but still could not make it work.

For Android

This is great work!

For Android, loading html with cloud generation is slower as it runs javascript.
Are there any points where this algorithm can be optimised ? or something can be skipped ? so that its faster.
Or is there any solution you have without javascript (in pure java or for Android)?

Thanks.

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.