wvengen / d3-wordcloud Goto Github PK
View Code? Open in Web Editor NEWPlug-and-play wordcloud with D3
License: MIT License
Plug-and-play wordcloud with D3
License: MIT License
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!
How to prevent the words to rotate?
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?
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."
Thanks, Oleksiy
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
文字过长,虽然部分不显示,但是提示框还是显示在画布外了,能让提示框在画布内吗
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
How do I give an option to edit the word on word click, can you give me some pointers.
Do you have an idea how to get?
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.
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.