Datafable/epu-index

Create a word cloud

Closed this issue · 6 comments

Create a word cloud below the line charts:

  • Position: not defined
  • Word orientation: not defined
  • Word colour: not defined
  • Maximum number of words: not defined
  • The word cloud now appears full width, under the highest ranking article.
  • The word orientation is defined by an array angles, which now contains [-90, -45, 0]
  • The word colour is the text colour of the parent div for all words. Colour variation is not used, as is does not add any information and might be confusing.
  • The maximum number of words will be set in the API call. I currently tested with 40 words.

The text size is scaled over the whole count range. So even if count is 1-4 or 1-4000, the scale will be a linear range between minFontSize (10) and maxFontSize(60). D3 is awesome that way!

screen shot 2015-08-10 at 13 37 10

Only thing left to do: use the correct API #8 and call on user actions too.

@bartaelterman, please ask feedback regarding the layout of the word cloud to the users on Monday.

Feedback from users needed on layout.

@peterdesmet Comments from the users:

  • Drop the -45 angle
  • Use a different font (they liked the one on the d3-cloud page better)
  • Use some colors.

They did not have immediate pointers (this font or those colors) so I would ask you to create a new suggestion based on this feedback that you think looks really nice.

This issue can be closed after feedback on the second version by @bartaelterman

Font, angles and colors updated as requested by client. Result:

word_cloud