账号密码登录
微信安全登录
微信扫描二维码登录

登录后绑定QQ、微信即可实现信息互通

手机验证码登录
找回密码返回
邮箱找回 手机找回
注册账号返回
其他登录方式
分享
  • 收藏
    X
    wordcloud2.js可以指定词云的形状吗
    88
    0

    需要画一个人形的词云,搜完之后发现wordcloud2 R语言可以有接口指定,但是没有找到js如何指定词云形状,在github上看了文档,shape的描述如下:
    shape: The shape of the "cloud" to draw. Can be any polar equation represented as a callback function, or a keyword present. Available presents are circle (default), cardioid (apple or heart shape curve, the most known polar equation), diamond, square, triangle-forward, triangle, (alias of triangle-upright, pentagon, and star.
    这边的polar equation我不太懂,想请问一下,如果可以指定词云形状,应该怎么调

    0
    打赏
    收藏
    点击回答
        全部回答
    • 0
    更多回答
    扫一扫访问手机版
    • 回到顶部
    • 回到顶部