lifeweb-wordcloud-v3
TypeScript icon, indicating that this package has built-in type declarations

1.0.7 • Public • Published

lifeweb wordcloud v3

NPM version NPM downloads NPM downloads MIT License

npm i lifeweb-wordcloud-v3
 
import WordcloudV3 from 'lifeweb-wordcloud-v3'
 
// your component details ...
render() {
  <WordcloudV3 
    data=[
        {word:'word 1',count:7},
        {word:'word 2',count:5},
        {word:'word 3',count:2}
    ]
   />
}
 

props

props type default
data array [{word: '', count:0}]
urlKey string ''
baseUrl string undefined
target string '_blank'
labelKey string 'word'
valueKey string 'count'
onClick function (text) => true
showTooltip boolean true
width number 300
height number 300
wordCount number 100
mouseOverColor string 'rgb(0 , 100 , 0)'
wordColors array ['#1f77b4', '#2ca02c', '#0b3d48', '#9467bd', '#8c564b']
className string ''
style object {}

author

Porya Ebrahimi Kazaj


[Lifeweb Company] lifeweb.webapp@gmail.com

Package Sidebar

Install

npm i lifeweb-wordcloud-v3

Weekly Downloads

5

Version

1.0.7

License

MIT

Unpacked Size

140 kB

Total Files

5

Last publish

Collaborators

  • lifeweb