How can i use my html code inside wix and implement my wix database in it?

I just wrote a html code , this code is a family tree chart , this code contain nodes that should hold the data inside each node.
The data should be from the wix database or corvid , does this procedure are available in wix ?

You can add html to Wix by using a html iframe.
https://support.wix.com/en/article/adding-html-code
Make sure that you read the related sections too.

For sending data to and from page to html and html to page, use on message and post message from the api reference.
https://www.wix.com/corvid/reference/$w.HtmlComponent.html

If you are wanting to use node packages, then read this.
https://support.wix.com/en/article/corvid-managing-external-code-libraries-with-the-package-manager
https://www.wix.com/corvid/npm-modules