Represent the paragraph/section of a word cloud as subscript
Opened this issue · 0 comments
simongray commented
The solution should reflect the solution used for the radial tree diagram, e.g.
(.append "tspan")
(.attr "class" "sense-paragraph")
(.attr "dy" "4px")
(.text (fn [d]
(when (<= (+ (count (.-name (.-data d)))
(count (.-sub (.-data d))))
16)
(.-sub (.-data d)))))