Skip to content

AdityaSavara/JSONGrapher

Repository files navigation

Online address for using the JSON Grapher: https://adityasavara.github.io/JSONGrapher/

JSON grapher allows creating scatter-line plots from one or more JSON files containing x-y data. You can upload the example files to the above link to try using JSONGrapher.

JSONGrapher also automatically converts between different units, which are provided within parentheses in the data file.

The direct links to the example files are::
https://github.com/AdityaSavara/JSONGrapherExamples/raw/main/ExampleDataRecords/1-CO2__Adsorption_Isotherms/CO2AdsorptionNaX2.json https://github.com/AdityaSavara/JSONGrapherExamples/raw/main/ExampleDataRecords/1-CO2__Adsorption_Isotherms/CO2Adsorption_NaX_and_CaX_two_series.json https://github.com/AdityaSavara/JSONGrapherExamples/raw/main/ExampleDataRecords/1-CO2__Adsorption_Isotherms/CO2AdsorptionNaX2.csv https://github.com/AdityaSavara/JSONGrapherExamples/raw/main/ExampleDataRecords/1-CO2__Adsorption_Isotherms/CO2AdsorptionNaX2.tsv.txt

Some additional files, including invalid files, are inside https://github.com/AdityaSavara/JSONGrapherExamples

The top level field of "title" describes the data type (such as CO2_Adsorption_Isotherm, CO2_Differential_Adsorption_Enthalpy, NH3_Temperature_Programmed_Desorption). The xaxis title and yaxis title are intended for units (such as kJ/mol and mol/m^2). All three of these titles must match when attempting to plot multiple series on the same graph. If the top level title does not match, that means the data should not be compared, and if either of the axes titles do not match between series, that will be taken as an indication that the units are not correct. In the future, there may be features to convert units or to upload data series by CSV files.

Additional Information:

The format that is recommended to be used is shown in the file CO2AdsorptionNaX2.json. When using this format, it is possible to add additional series onto the existing plot from multiple json files. When doing so, the top-level title must match, as well as the X axis title and Y axis title. The axes titles are meant to be used for units. All other settings, such as chart title, will be taken from the first json file loaded.

Piotr Paszek made the core code of JSON Grapher, which relies on plotly. He has significant experience with javascript and data visualization, and he may be hired at https://www.upwork.com/freelancers/paszek

Med. Amar Filali added most of the additional features: including unit conversions (using UUC), the ability for external simulations, and CSV download of the last dataset. He has significant experience in making dynamic websites and specialized Javascript codes. He may be hired at https://www.upwork.com/freelancers/~01844d5a23ecf022cf

The idea of JSONGrapher was conceived of by Aditya Savara, and it is used as a demonstration for the concepts described in the Publication ___

About

No description, website, or topics provided.

Resources

License

Unknown, Unknown licenses found

Licenses found

Unknown
LICENSE.txt
Unknown
license.html

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published