# Plot Sankey in Dynatrace Apps developer

**URL:** <https://community.dynatrace.com/t/plot-sankey-in-dynatrace-apps-developer/50304>\
**Category:** Developer Q&A Forum\
**Tags:** custom-app, app-functions\
**Created:** [February 18, 2025, 3:32am UTC](https://community.dynatrace.com/t/plot-sankey-in-dynatrace-apps-developer/50304 "2025-02-18T03:32:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![JhonU](https://avatars.discourse-cdn.com/v4/letter/j/f14d63/32.png) [@JhonU](https://community.dynatrace.com/u/JhonU)\
**Post date:** [February 18, 2025, 3:32am UTC](https://community.dynatrace.com/t/plot-sankey-in-dynatrace-apps-developer/50304/1 "2025-02-18T03:32:49Z")

</div>

Hello, I’m starting out with Dynatrace Developer, and I’m trying to plot a Sankey diagram. In the development I’m using libraries like Recharts, D3, and Plot, but for some reason it doesn’t compile in the Dynatrace app.  
Is there a proprietary Dynatrace tool that allows this type of graph to be created, or is there no support for external libraries for custom graphs at the development level?

---

<div class="post-metadata">

**Author:** ![zaid-bashir](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/zaid-bashir/32/22651_2.png) [@zaid-bashir](https://community.dynatrace.com/u/zaid-bashir)\
**Post date:** [February 18, 2025, 7:06am UTC](https://community.dynatrace.com/t/plot-sankey-in-dynatrace-apps-developer/50304/2 "2025-02-18T07:06:11Z")

</div>

Hi&nbsp;[@JhonU](https://community.dynatrace.com/user/75688)&nbsp;&nbsp;  
In Dynatrace Custom Apps built with AppEngine, you cannot use all NPM packages, such as Axios, or include certain external assets due to Content Security Policy (CSP) restrictions. To incorporate external assets, they must be explicitly permitted by Dynatrace, as outlined in the official guidelines.

Name Purpose Allowed values

| font-src | Applying custom fonts to the app. | 
- [https://my.domain.com](https://my.domain.com)&nbsp;(only https is allowed, no trailing slash)
- 'data:'
- 'sha\*-\*'

 |
| img-src | Loading custom images from outside of the platform | 
- [https://my.domain.com](https://my.domain.com)&nbsp;(only https is allowed, no trailing slash)
- 'data:'
- 'blob:'
- 'sha\*-\*'

 |
| media-src | Loading media files (videos, audio) | 
- [https://my.domain.com](https://my.domain.com)&nbsp;(only https is allowed, no trailing slash)
- 'sha\*-\*'

 |
| script-src | Loading custom scripts from outside of the platform | 
- [https://my.domain.com](https://my.domain.com)&nbsp;(only https is allowed, no trailing slash)
- 'sha\*-\*'

 |
| style-src | Loading custom styles from outside of the platform | 
- [https://my.domain.com](https://my.domain.com)&nbsp;(only https is allowed, no trailing slash)
- 'unsafe-inline'
- 'sha\*-\*'

 |
