Markdown Preview Enhanced supports rendering
Vega & Vega-lite,
You can also render
Plotly and all sorts of other graphs and diagrams by using Code Chunk.
Please note that some diagrams don't work well with file exports such as PDF, pandoc, etc.
This feature is powered by flowchart.js.