# Using UIBUILDER with Plotly

**URL:** <https://discourse.nodered.org/t/using-uibuilder-with-plotly/97462>\
**Category:** FAQs\
**Tags:** uibuilder\
**Created:** [7 June 2025 12:20 UTC](https://discourse.nodered.org/t/using-uibuilder-with-plotly/97462 "2025-06-07T12:20:04Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![Paul-Reed](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/paul-reed/32/66906_2.png) [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Post date:** [20 July 2025 18:36 UTC](https://discourse.nodered.org/t/using-uibuilder-with-plotly/97462/11 "2025-07-20T18:36:55Z")

</div>

In case you were not already aware...

I've looked again today at fine tuning UIbuilder [PWA cache's](https://discourse.nodered.org/t/add-pwa-feature-to-uibuilder/97807), during which, noticed that even the minimised version of plotly.js is over 4MB in size, and by far the largest library that I am loading.

However, Plotly have also npm published ['Partial Bundles'](https://github.com/plotly/plotly.js/blob/master/dist/README.md#partial-bundles) which are targeted Plotly libraries, and therefore much smaller sizes and which of course load faster.

By example, I'm only displaying line charts, so I selected [plotly.js-basic-dist-min](https://www.npmjs.com/package/plotly.js-basic-dist-min) which includes; bar, pie, scatter as well as line charts, and weighs in at 1MB, which is a saving of 75% compared to plotly.min.js.

---

_[View the full topic](https://discourse.nodered.org/t/using-uibuilder-with-plotly/97462)._
