This project is for providing helper functions to transform data into a form consumable by the plotly.js library. This project makes use of the papaparse package to read de-limited data files from resources available on the web. It is designed to take metadata information gathered from SCICRUNCH and use this information to duplicate a figure from a SPARC dataset. This package can format de-limited data into scatter plots or heatmap plots.
yarn add @abi-software/plotdatahelpers
yarn build-package
Include the package in your script.
import { applyFilter, extractTitles, convertToPlotlyData } from '@abi-software/plotdatahelpers'