Hey Ashu!
If you want to create a diagram that is not on Mendix normally you can use the AnyChart widget https://marketplace.mendix.com/link/component/106517. This allows you to build all the charts supported by plotty.js. As far as I know in this case for the JavaScript version the chords diagrams are not implemented.
Check: https://github.com/plotly/plotly.js/issues/2221
So problably the only solution that you have is to build a widget for your case so you’ll need some knowledge about React.
There is a similar question about this on the forum: https://forum.mendix.com/link/space/widgets/questions/104808.
These are the links to know how to build a widget on Mendix:
https://docs.mendix.com/howto/extensibility/create-a-pluggable-widget-one/
https://docs.mendix.com/howto/extensibility/create-a-pluggable-widget-two/
Maybe you can use this package to create the charts on your widget: https://www.npmjs.com/package/@nivo/chord
If you have any other question, please let me know.