Emedding D3 code with server requirement to streamlit app

Hello Everyone,

I am new to the community and I am developing a project using streamlit. Some part of the WebApp is coded in python and was built to streamlit app, but the other part of the app was coded by my group mate and is in D3.

I tried to incorporate the D3 code with the streamlit app, using html.components, but the D3 code requires a server, to start reading the independent .csv file and currently, I am unable to find any leads to doing this.

I am planning to host the web app on streamlit share, can anyone let me know how to proceed with the issue?

( Let me know if the issue is not clear )