function displayEmbeddingsPlot(embeddings, parentEl) {
  const embeddingDiv = document.createElement('div');
  embeddingDiv.classList = `embeddings`;

  embeddingDiv.innerHTML =
      embeddings
          .map(embedding => {
            // Note that this slice is arbitraty as the plot is only meant to
            // be illustrative.
            const embeddingValDivs = embedding.slice(0, 340).map(val => {
              return `<div class="embVal" ` +
                  `style="background-color:${embeddingCol(val)} "` +
                  `title="${val}"` +
                  `></div>`;
            });

            return `<div class="embedding">` +
                `${embeddingValDivs.join('\n')}</div>`;
          })
          .join('\n');

  parentEl.appendChild(embeddingDiv);
}
Display an illustrative representation of the embeddings values
@param {*} embeddings
@param {*} parentEl