/d3-word-cloud-lwc

A DC Word Cloud Lightning Web Component

Primary LanguageJavaScript

D3 Word Cloud Ligthning Web Component

This project contains a Lightning Web Component that displays a D3 word cloud. Data for the cloud is loaded from an Apex enpoint.

D3 word cloud screenshot

Installation

  1. Create a scratch org and provide it with an alias (word-cloud in the command below):

    sfdx force:org:create -s -f config/project-scratch-def.json -a word-cloud
    
  2. Push the app to your scratch org:

    sfdx force:source:push
    
  3. Open the scratch org:

    sfdx force:org:open
    
  4. Edit a Lightning Home or a Lightning App page with the App Builder and add the Word Cloud custom component.