Hi Ashu,
You could use a javascript action or javascript snippet to draw the chord diagram, however, I wouldn't recommend going this route. It's not as easily maintainable or resuable as a custom widget is. What are the arguments for not creating a custom widget?