Word clowd vizualization

14 views
Skip to first unread message

Ramiro B. da Luz

unread,
Nov 8, 2016, 11:45:56 AM11/8/16
to EEA Daviz
Does anyone created a word cloud?

https://www.jasondavies.com/wordcloud/

I would like to create a word cloud vizualization in a Plone site for categorized documents (tags).

The idea is to have the most frequent tags bigger, and any word would be a link to a search by tags/categories.

If there is nothing already done, it would be a good idea to create a new plugin? If so, there is any docs or tutorials teaching how to create a new vizualization plugin?

Thank you.

Alin Voinea

unread,
Nov 8, 2016, 12:32:28 PM11/8/16
to EEA Daviz
Hi Ramiro,

AFAIK there is no such visualization plugin for Daviz out there. 

Now, if you want to add it, you can start by looking at eea.exhibit package. I think a good starting point is the Exibit Tabular View

Cheers,
Alin Voinea

Ramiro B. da Luz

unread,
Nov 8, 2016, 2:56:57 PM11/8/16
to EEA Daviz
Ok, thank you.

I will take a look.

Ramiro B. da Luz

unread,
Nov 10, 2016, 1:25:06 PM11/10/16
to EEA Daviz
I started the development of a plugin.

https://github.com/ramiroluz/daviz.vaporize

It will be based on  the https://github.com/eea/eea.exhibit and https://github.com/collective/collective.vaporisation

I have some questions.

I adapted the setup.py, don't know if everything is ok, for example, https://github.com/ramiroluz/daviz.vaporize/blob/master/setup.py#L39
should I adapt it to something else, or it is ok to leave 'eea' for the namespace_packages?

I found two directories inside buildout, plone4 and zope2, the content of both is similar, even the content of the files, should i keep both also?

The install.sh script downloads a bootstrap.sh script from an eea repostory, it is safe to do the same?

Thank you.

Alin Voinea

unread,
Nov 10, 2016, 1:50:29 PM11/10/16
to EEA Daviz
Hi Ramiro,


On Thursday, November 10, 2016 at 8:25:06 PM UTC+2, Ramiro B. da Luz wrote:
I started the development of a plugin.

https://github.com/ramiroluz/daviz.vaporize

It will be based on  the https://github.com/eea/eea.exhibit and https://github.com/collective/collective.vaporisation

I have some questions.

I adapted the setup.py, don't know if everything is ok, for example, https://github.com/ramiroluz/daviz.vaporize/blob/master/setup.py#L39
should I adapt it to something else, or it is ok to leave 'eea' for the namespace_packages?


I think it should be daviz and here you should have the folder stucture like:

daviz.vaporize
|--setup.py
|--daviz
   |-- __init__.py
   |--vaporize
      |-- __init__.py
      |-- everything.else

You should use mr.bob+bobtemplates.plone to generate the add-on's strucuture ;)

I found two directories inside buildout, plone4 and zope2, the content of both is similar, even the content of the files, should i keep both also?

It's not mandatory.
 

The install.sh script downloads a bootstrap.sh script from an eea repostory, it is safe to do the same?

Otherwise, you can put the boostrap.py inside your repo and modify install.sh to use it ;)
 

Thank you.

Cheers,
Alin Voinea

Ramiro B. da Luz

unread,
Dec 7, 2016, 8:58:55 AM12/7/16
to EEA Daviz
Backing to development.


On Thursday, 10 November 2016 16:50:29 UTC-2, Alin Voinea wrote:
Hi Ramiro,

On Thursday, November 10, 2016 at 8:25:06 PM UTC+2, Ramiro B. da Luz wrote:
I started the development of a plugin.

https://github.com/ramiroluz/daviz.vaporize

It will be based on  the https://github.com/eea/eea.exhibit and https://github.com/collective/collective.vaporisation

I have some questions.

I adapted the setup.py, don't know if everything is ok, for example, https://github.com/ramiroluz/daviz.vaporize/blob/master/setup.py#L39
should I adapt it to something else, or it is ok to leave 'eea' for the namespace_packages?


I think it should be daviz and here you should have the folder stucture like:

daviz.vaporize
|--setup.py
|--daviz
   |-- __init__.py
   |--vaporize
      |-- __init__.py
      |-- everything.else

You should use mr.bob+bobtemplates.plone to generate the add-on's strucuture ;)


I ran mrbob, now I have a standart structure.
 
I found two directories inside buildout, plone4 and zope2, the content of both is similar, even the content of the files, should i keep both also?

It's not mandatory.
 

The install.sh script downloads a bootstrap.sh script from an eea repostory, it is safe to do the same?

Otherwise, you can put the boostrap.py inside your repo and modify install.sh to use it ;)
 

Thank you.

Cheers,
Alin Voinea


 
I was trying to understand the way to create an extension, but I could not found any documentation on
how to create an extension based on the visualization api, https://github.com/eea/eea.app.visualization

I would like to have something like this:
  - The same standard to create a new visualization with a csv paste, upload, or url.
  - Similar fields of metadata, title, description, etc ...
  - For my idea, I could start with only a visualization without any further configuration. It would be a word cloud
based on the data from the csv.

Can anyone help me getting this done? :D


Reply all
Reply to author
Forward
0 new messages