I’m considering using the Matplotlib library for data visualization with Classic ASP, specifically to create charts that can be embedded using the img tag in HTML.
I was previously using the “Google Image Chart” service for this purpose, but it was completely deprecated a week ago.
I send data HTML files with graphics via email.
Mail client programs such as Outlook do not support the use of JavaScript and CSS. So I’m wondering if there is a way to create Matplotlib plots with url values on the server side in ASP and embed them directly using the img tag.
Are there any libraries, techniques or examples available to achieve this? I’d appreciate any suggestions on how to integrate Matplotlib with Classic ASP to create graphical images suitable for embedding in HTML emails.
As an alternative, I am thinking of creating graphics on an HTML page with JavaScript, then converting them into PDF and sending PDF instead of HTML, but this seems like a longer way.
Thank you.
the code I used before
<img src='https://chart.googleapis.com/chart?cht=bvs&chs=400x250&chd=t:10,40,20,30&chl=Summer|Winter|Autumn|Spring'/>