Skip to main content

Word Cloud

Project description

DWCM

a word cloud of data visualization base on D3.js

Who are we?

Hello everyone. I am Sunny. I graduated with an HD in Data Science and Analytics. My alma mater has a series of good practices in developing the practical application of dynamic data visualization/interactive dashboards. We are continuously concentrating on simplifying the data visualization process. Word cloud is one of our essential parts of data visualization in NLP. We found that the existing python package is challenging to complete an interactive word cloud dashboard. Therefore, the python package is based on D3.js/react.js/DASH, which can be executed in python or cooperate with Dash for word cloud development.

Keyword arguments:

  • id (string; optional): the unique identity of keyword in word cloud html DOM.

  • data (list; required): dataset for word cloud visualising. datatype is array. on the array you need a words columns and the freq columns of each word. for example [{'word':'a','freq':100}].

  • filterString (list; optional): the word cloud filtrate the selected keyword(s). you should not set/input this parameter.

  • freqs (string; required): frequency or occurence of each keyword

  • height (string; optional): the height of the boundary of the word cloud.

  • width (string; optional): the width of the boundary of the word cloud.

  • value (string; optional): just for future may be to use.

Example

import Dwcm
data = [{'word': 'A', 'freq': 15},{'word': 'B', 'freq': 22}],
Dwcm.Wordcloud(data = data,words = 'word',freqs = 'freq').show()

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

dwcm-0.7.1.tar.gz (682.9 kB view details)

Uploaded Source

File details

Details for the file dwcm-0.7.1.tar.gz.

File metadata

  • Download URL: dwcm-0.7.1.tar.gz
  • Upload date:
  • Size: 682.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for dwcm-0.7.1.tar.gz
Algorithm Hash digest
SHA256 1282d75705070387c4ce38581361d9dd7582dd3fd5cdedcb985879d9edefa6f6
MD5 24bb9442dd86c287b38949a15d50d994
BLAKE2b-256 28fd12c4e8dae96f8367ce223709f03e26b25287d8fa9f14f94abdb395b0da8a

See more details on using hashes here.

Supported by

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