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.
Requirements
Requires @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.
Usage
import { embed } from '@nebula.js/stardust';
import word from '@nebula.js/sn-word-cloud';
const nuked = embed(app, {
types: [
{
name: 'qlik-word-cloud',
load: () => Promise.resolve(wordcloud),
},
],
});
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.
Original author
github.com/cleveranjos