There is a new Python library called d3blocks that sounds promising if you want to create a D3 chart with python (relatively easy). I’m wondering if it’s possible to show one d3blocks chart directly on a streamlit app like a Matplotlib or Altair chart.
Apparently d3blocks write HTML to files, you should be able to read the HTML from the file and put it in an html component. Such a use case is explicitly mentioned in the docs.
There is a full integration of D3Blocks possible into streamlit. Details with examples can be found in the readme file and documentation pages of d3blocks.