Related Experiment Video
Updated: Oct 3, 2025

Applying Cheminformatics to Develop a Structure Searchable Database of Analytical Methods
Published on: June 6, 2025
Visualization of Aqueous Geochemical Data Using Python and WQChartPy
Jing Yang1,2, Honghua Liu3,4, Zhonghua Tang5
1College of Water Resources and Architectural Engineering, Northwest A&F University, Yangling, 712100, Shaanxi, China.
Abstract:
Graphical methods have been widely used for visualization, classification, and interpretation of aqueous geochemical data to obtain a better understanding of surface and subsurface hydrologic systems. This method note presents WQChartPy, an open-source Python package developed to plot a total of 12 diagrams for analysis of aqueous geochemical data. WQChartPy can handle various data formats including Microsoft Excel, comma-separated values (CSV), and general delimited text. The 12 diagrams include eight traditional diagrams (trilinear Piper, Durov, Stiff, Chernoff face, Schoeller, Gibbs, Chadha, and Gaillardet) and four recently proposed diagrams (rectangle Piper, color-coded Piper, contour-filled Piper, and HFE-D) that have not been implemented in existing graphing software. The diagrams generated by WQChartPy can be saved as portable network graphics (PNG), scalable vector graphics (SVG), or portable document format (PDF) files for scientific publications. Jupyter and Google Colab notebooks are available online to illustrate how to use WQChartPy with example datasets. The geochemical diagrams can be generated with several lines of Python codes. Source codes of WQChartPy are publicly available at GitHub (https://github.com/jyangfsu/WQChartPy) and PyPI (https://pypi.org/project/wqchartpy/).
Related Concept Videos
Arrhenius Plots
The Arrhenius equation can be used...
Phase Diagrams
Graphing the Wave Function
Precipitation Titration Curve: Analysis
Energy Diagrams - I
Take the example of a skater on a parabolic ramp. The potential energy at different points along the ramp will be proportional to the height of the ramp, which varies quadratically with the horizontal position on the ramp. As the skater moves down the ramp from the highest position,...
pV-Diagrams

