Giter VIP home page Giter VIP logo

wordcloud's Introduction

HTML5 Word Cloud

Create a tag Wordle presentation on a HTML5 canvas element for a given article, powered by wordfreq, remote data fetching through public APIs, and sharing tools.

Visit the web app.

Author & Copyright

Copyright 2011, 2013 Timothy Guan-tin Chien and other contributors. Released under the MIT license.

Libraries used

Understand more on how this web application works by following the links below:

  • wordcloud2.js - standalone library for the "word cloud" on canvas.
  • wordfreq - text corpus calculation in JavaScript (with Web Workers)

Acknowledgement

Contributors

Understand how to contribute by reading ./CONTRIBUTE.md.

  • Grassboy Wu for helping some of the work in the rewrite version
  • Yuren Ju for initial version of Facebook status fetching support

Build

See ./PRODUCTION.md for instructions.

wordcloud's People

Contributors

dependabot[bot] avatar evanmo avatar timdream avatar yurenju 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  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  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

wordcloud's Issues

Public Twitter account not working

When using public twitter handles I receive this error message: Only public Twitter timeline can be accessed. Should that be verified accounts rather than public accounts?

Browser comparability audit

For support browsers (modern browsers + IE9), everything should work

For non-comparable browsers, there should have be en error message.

Edit List dialog

It would be nice if the users could edit the list generated by wordfreq

RSS Fetcher

var RSSFeedFetcher; // powered by Google Feed API

gaq + event tracking

Need to put google analytic tracking code on the page.

Also need to monitor users' behavior with events so we know where we fail on the UI design.

(of course this needs to be mentioned in the privacy statement)

Variance weight AwesomeCloud JS plugin

I want to show allways all the tags. My problem is when I have too many variance between them.

For example: With this tags and weight

all 0.5
rock 0.16666666666666666
artick 0.16666666666666666
xonaaa 0.16666666666666666
The output is:
http://i.stack.imgur.com/fTVpT.png

And, sometimes, appear one more tag (artick). My opinion about this incorrect output are in the values for "size" and "factor" but I don't know what number I need to put there. I already try too many values and the output is always wrong.
http://i.stack.imgur.com/1A7rM.png

What are the correct values to this case?

Tks

WordCloudApp.isFullySupported flag

Need feature detection and this flag to show a UI label to IE9 users.
There are just things we cannot workaround, e.g. URL length limit, data URL length limit.

Need to show an error when these thing happens too.

It stops working at line 443 on jquery.wordcloud.js

Hey,
I am trying to get this to work for one of my apps.

It is not working for me. I tried debugging and realized that execution stops at line 443 on jquery.wordcloud.js.

It just does not enter the return this.each(function(){ }) block. What could I be doing wrong?

Gurpreet

CONTRIBUTE.md

It would be nice if people know how to set up the dev environment and coding style.

Extracting a word out of Tag Cloud

This is not actually an issue. I created a tag cloud using this plug-in for my application. Now i want my user to click on some words on it and create sentence out of it. But javascript function is not able to retrive data out of it.I assigned id and value to each word

function showword(){
divObj = document.getElementById("word1");
if ( divObj ){
if ( divObj.textContent ){ // FF
alert ( divObj.textContent );
console.log(divObj.value);
console.log(divObj.innerHTML);
}else{ // IE
alert ( divObj.innerText ); //alert ( divObj.innerHTML );
}
}
}

Javascript Error when the hash in URL is too long in IEs

This tends to happen on CP panel and List Editor.

Let's workaround it by passing the data cross module and not through the URL itself. It will prevent the user from sharing the URL directly but they should took the blame for using IE.

Sharer

People should be able to post the result on Facebook, Twitter, Plurk, Tumblr, and Instrgram.

About dialog

Need an button that goes to about dialog, and actually show an about.

About should just contain a trimmed version of README.

Privacy statement

Should be an independent page that is linkable*, and maybe showable in the about dialog.

  • Facebook require this page for apps

Words won't display if too much weight

I have found that if you try to put a word with too large of a weight and there is not enough room, the word simply will not display. This is not desirable because it will often affect the most weighted words, causing the cloud to leave out some valuable data.

I fixed this in a local fork by replacing the return false on line 428 of jquery.wordcloud.js with return putWord(word,weight-1)

This will basically continue to try lower and lower weights until it either gets to 0 or finds a weight that it can fit

Script not working

When I load the script onto my server, I get the W and the small cloud bouncing back and forth, but nothing else happens. Have tried reinstalling twice now. Any ideas what I am doing wrong, or is there some setting I need to ensure is made on the server?

Saver

Let's make sure users could save the generated image?

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.