Skip to main content

SVGdatashapes is a compact set of python functions for creating many types of plots and data displays in SVG for use in web pages.

For full info and examples see: https://pepprseed.github.io/svgdatashapes

General purpose, useful in areas such as biomedical, scientific, business, process monitoring, report generation. Plenty of control over legends, tooltips, colors, transparency, and many other appearance details. It has no package dependencies, and can work nicely in frameworks such as Flask and Bootstrap. No javascript, CSS, DOM, or SVG knowledge is required.

Produce many types of bargraphs, lineplots, curves, bands, scatterplots, pie graphs, heatmaps, boxplots, histograms, multipanel displays, and other data displays like windbarbs and Secchi depth graphs. Plot from your numeric, categorical, or date/time data.

SVGdatashapes produces attractive results for many typical straightforward graphing / data display needs, as can be seen in the examples. The approach is procedural and the code is relatively simple and agile (click on examples to see code). It supports some basic “reactive” things: tooltips, clickthru, hyperlinks, element hide/show with js. It does some basic stat / computational things: data ranges, frequency distributions, mean and SD, quartiles for boxplots. For a given project, developers should judge whether SVGdatashapes is sufficient, or if more involved approaches (such as D3, Plotly, Numpy, R ggplot) are necessary.

SVGdatashapes renders its results in SVG. All modern web browsers support viewing and printing of SVG graphics. SVG is a good format for web-based data displays and line art because it is vector-based and has full support for good fonts, text in any direction, transparency, as well as tooltip and hyperlink support. SVG can share CSS styling from the host web page and can use the full range of html special characters to get Greek letters, etc. (SVGdatashapes also supports <sup> and <sub> for superscripts and subscripts).

You can include a chunk of SVG code directly into your html (referred to as an “inline SVG”). Or, you can put the SVG in a separate file and reference it using an <img> tag. (We do it both ways on our web site.)

Release files for SVGdatashapes 0.3.62

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for SVGdatashapes 0.3.62
File Size Uploaded Provenance
SVGdatashapes-0.3.62.tar.gz 24.1 kB Without provenance Details

Release files / SVGdatashapes-0.3.62.tar.gz

Download URL SVGdatashapes-0.3.62.tar.gz
Size 24.1 kB
Tags Source
SHA-256 checksum
How to use checksums
b3928b13c78fd304ffda2eaa6e38db50b610a4d96c0c1e6831b59904a4c15341
BLAKE2b-256 checksum
How to use checksums
109f8d6520d5c2b9a4abfbcc882ba1035cdfaff9615b43768c9389a6ed6a4562
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/3.6

Security for SVGdatashapes 0.3.62

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page