Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@nebula.js/sn-word-cloud

Package Overview
Dependencies
Maintainers
7
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nebula.js/sn-word-cloud

A graphic representation of a text dimension where size is based on the measure value

  • 1.0.6
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
834
decreased by-3.7%
Maintainers
7
Weekly downloads
 
Created
Source

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';

// '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.

Original author

github.com/cleveranjos

FAQs

Package last updated on 18 Aug 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc