Yoctol / react-d3-cloud

A word cloud react component built with d3-cloud.
https://yoctol.github.io/react-d3-cloud
MIT License
142 stars 47 forks source link

change input shape #17

Closed stegben closed 8 years ago

stegben commented 8 years ago

The latest usage:

import WordCloud from 'react-d3-cloud'

const data = [
  { text: 'Hey', value: 1000 },
  { text: 'lol', value: 200 },
  { text: 'first impression', value: 800 },
  { text: 'cool', value: 1 },
  { text: 'duck', value: 10 },
]

<WordCloud data={data} />
ghost commented 8 years ago

By analyzing the blame information on this pull request, we identified @chentsulin to be a potential reviewer