DataDraw           http://datadraw.org

      pip install datadraw

      A python function library class to produce many kinds of automated, presentable, data-driven 2-D plots / charts / graphics / image annotations in SVG. It's an all-python server-side solution, producing SVG results that can be embedded directly into html web pages or saved as .svg files.
      No javascript, css, or svg knowledge is required.   MIT License

      Axis and legend rendering, tooltips, linkouts, automatic ranging, basic statistics, draw primitives. Handles numeric, log, categorical, and datetime data types. Leverages SVG's fonts, colors, transparency, image handling, and other aspects. Works well within frameworks such as Flask or Django. Limited interactivity / reactivity use-cases.

      Tested on linux python 3.6 and 3.9 using recent browser versions; believed to be thread-safe.



      Available examples
      (Use   View Page Source   to see the embedded SVG code)

      • Set 1 ....   hello_world   bargraph1   curves1   scatterplot1   webhits1   heatmap1   pie1

      • Set 2 ....   more bargraphs     more lineplots     a bigger scatterplot

      • Set 3 ....   legend demo, shapes, elements     datapoint symbols     jpg image annotation

      • Set 4 ....   numeric, categorical axes     datetime axes

      • Set 5 ....   boxplots, beeswarm plots     survival plot     distribution histograms

      • Set 6 ....   business/trading days     human chromosomes view

      • Set 7 ....   Secchi depth readings     windbarbs

      • Set 8 ....   a real-world genome utility for finding CRISPRs

      • datadraw-examples ....   a simple Flask app that includes most of the above examples



      • Functions reference / documentation  (updated July 2024)