Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/qlik-oss/sn-word-cloud
Qlik Sense Word Cloud extension
https://github.com/qlik-oss/sn-word-cloud
blackduck
Last synced: 7 days ago
JSON representation
Qlik Sense Word Cloud extension
- Host: GitHub
- URL: https://github.com/qlik-oss/sn-word-cloud
- Owner: qlik-oss
- License: mit
- Created: 2018-10-22T11:54:10.000Z (about 6 years ago)
- Default Branch: main
- Last Pushed: 2024-09-16T16:44:03.000Z (about 2 months ago)
- Last Synced: 2024-09-16T20:35:12.394Z (about 2 months ago)
- Topics: blackduck
- Language: JavaScript
- Size: 2.31 MB
- Stars: 4
- Watchers: 7
- Forks: 0
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
> **Warning** This repository is now archived and will not be updated
> This repository was originally published to foster collaboration and engagement with developers as they customized or developed visualizations, but due to customer feedback and usage data, it is now moved back to closed source. Moving this and other projects back to closed source will support better integration with internal build and test tooling, and free up resources for investment in these and other visualizations.
# sn-word-cloud
A word cloud chart aimed to be used in nebula.js built using d3 and d3-cloud.This extension is part of the extension bundles for Qlik Sense. The repository is maintained and moderated by Qlik R&D.
## RequirementsRequires `@nebula.js/stardust` version `2.0.0` or later.
## Installing
If you use npm: `npm install @nebula.js/sn-word-cloud`.
You can also load through the script tag directly from [https://unpkg.com](https://unpkg.com/@nebula.js/sn-word-cloud).
## Usage
```js
import { embed } from '@nebula.js/stardust';
import word from '@nebula.js/sn-word-cloud';// 'app' is an enigma app model
const nuked = embed(app, {
types: [
{
// register word cloud - qlik-word-cloud is the default name in sense
name: 'qlik-word-cloud',
load: () => Promise.resolve(wordcloud),
},
],
});// Rendering a simple word cloud
nuked.render({
element: document.querySelector('.wordCloud'),
type: 'qlik-word-cloud',
fields: ['WordsField', '=Sum(SizeField)'],
properties: {
title: 'Word cloud',
},
});
```## License
`@nebula.js/sn-word-cloud` is [MIT licensed](./LICENSE).
## Original author
[github.com/cleveranjos](https://github.com/cleveranjos)