Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide a more advanced example #118

Open
plonknimbuzz opened this issue Mar 3, 2017 · 8 comments
Open

Provide a more advanced example #118

plonknimbuzz opened this issue Mar 3, 2017 · 8 comments
Labels

Comments

@plonknimbuzz
Copy link

plonknimbuzz commented Mar 3, 2017

Can you give us the example script in html instead of DEMO in https://www.jasondavies.com/wordcloud?
the others library is so simple to use, but the most beautifull and the most difficult is yours.
even my work is done with modify your demo script, i think we still need simple and advanced example page.
So, please, can you give some example, or just 1, so the others will more easier to use this library.
thanks.

@andreibancioiu
Copy link

andreibancioiu commented Mar 8, 2017

I would like to take this opportunity to ask a question related to @plonknimbuzz's concern (ease of use):

Is there any plan to provide the library as a standalone Javascript library as well, without requiring the users to rely on npm and browserify?

Currently, in order to include the library as a standalone Javascript unit in the browser, one has to build it first:

browserify d3.layout.cloud.js --standalone cloud -o cloud.js

And only then reference it in a web page:

<script src="https://d3js.org/d3.v3.min.js"></script>
<script src="cloud.js"></script>

Please let me know if I misunderstood something.

@jasondavies
Copy link
Owner

Is there any plan to provide the library as a standalone Javascript library as well, without requiring the users to rely on npm and browserify?

A standalone build is included here: build/d3.layout.cloud.js.

@jasondavies jasondavies changed the title where the example script? Provide a more advanced example May 11, 2017
@plonknimbuzz
Copy link
Author

ahh.. you so late to answer (almost 2 month). i almost forgot if post this request -_-
i know that we can use standalone version. but nevermind, i will pull my example if i have enough time

@Tzikas
Copy link

Tzikas commented May 9, 2018

I downloaded this https://www.jasondavies.com/wordcloud/cloud.min.js (It would be better if the example wasn't minified)

#62 Made it super easy. Thanks so much @kyu999

https://github.com/cesine/d3-cloud

@indieshack
Copy link

indieshack commented Mar 8, 2019

Gosh, thank you Tsikas for making this project usable for me since I don't use Node much.

@indieshack
Copy link

Jason, is it OK to use a modified version of the demo example on the jasondavies.com website?

@sona1111
Copy link

sona1111 commented Jan 2, 2020

Would it be possible to provide the un-minified cloud.js from https://www.jasondavies.com/wordcloud/ (or separate the cloud.js library from the index.js example / page / driver code) so that I could try to extract the part related to building that style of word-cloud? I have not been able to find another example like it anywhere.

@indieshack
Copy link

Would it be possible to provide the un-minified cloud.js from https://www.jasondavies.com/wordcloud/ (or separate the cloud.js library from the index.js example / page / driver code) so that I could try to extract the part related to building that style of word-cloud? I have not been able to find another example like it anywhere.

Looks like the last comment on here from Jason was three years ago, don't hold your breath for a response - I sense he may have moved onto other things

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants