Skip to main content

tag/word cloud, ses the wonderful d3-cloud under the hood

Project description

This project is Plotly/Dash wrapper for for the highly configurable wordcloud.

Usage

pip install dash-holoniq-wordcloud
from dash_holoniq_wordcloud import DashWordcloud

security_data = [
    ["Equity", 74, "Zillions of equity based funds"],
    ["Bond", 45],
    ["Global", 30],
    ["Sector Equity", 17],
    ["EUR", 15],
    ["Large Cap", 13],
    ["Europe", 11],
]

app.layout = html.Div([
    html.Div([
        DashWordcloud(
            id='wordcloud',
            list=security_data,
            width=300, height=200,
            gridSize=16,
            color='#f0f0c0',
            backgroundColor='#001f00',
            shuffle=False,
            rotateRatio=0.5,
            shrinkToFit=True,
            shape='circle',
            hover=True
            )
        ])
    ])

Features

DashWordcloud supports the extensive wordcloud API.

  • Hover-over word highlighting and word tooltips are supported.
  • Word onClick events are reported to Dash and can be used in Dash callbacks

Installation

You can install dash-holoniq-wordcloud with pip:

pip install dash-holoniq-wordcloud

Documentation

Head over to the README for more details.

Contributing

The source code for dash-holoniq-wordcloud is available on GitHub. If you find a bug or something is unclear, we encourage you to raise an issue. We also welcome contributions, to contribute, fork the repository and open a pull request.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dash_holoniq_wordcloud-0.0.4.tar.gz (111.7 kB view hashes)

Uploaded source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page