Gnuplot diagram
Example taken here
About
Gnuplot is a graphing utility. The source code is copyrighted but freely distributed (i.e., you donβt have to pay for it). It was originally created to allow scientists and students to visualize mathematical functions and data interactively. It is also used as a plotting engine by third-party applications like Octave. Gnuplot has been supported and under active development since 1986.
Installation
-
Install dependencies
-
Configure Astro. See note about Rehype plugins for code.
-
Optional install dependency for cache
-
Optional configure cache
-
Optional add pan and zoom for diagrams
Example
Bonus: XKCD-style
Example taken here
Note: in order for example to work as SVG I changed following lines:
You may use any font you like and load if, for example: