plotsvy

A CSV plotter that loads and plots timeseries or static data

Usage no npm install needed!

<script type="module">
  import plotsvy from 'https://cdn.skypack.dev/plotsvy';
</script>

README

Tehsurfer/plotsvy Netlify Status npm version

A CSV file web viewer focused on viewing ephys and RNA seq data.

View the latest online demo at: https://plotsvy-demo.netlify.com (This demo is deployed from tehsurfer/plotsvy:netlify-hosting)

Devloper Installation

  1. git clone https://github.com/ABI-Software/plotsvy.git
  2. Install Node.js if you do not have it (check using npm -v)
  3. Navigate to the plotsvy/ directory and:
npm install
npm run pub
  1. npm run start and follow the link to http://127.0.0.1:8080

Initialising the app and using external API's

// Initialises app
var myChart = new plotsvy(targetDiv)

// Initialises app and load csv file.
var myChart = new plotsvy(targetDiv, 'path/to/any/csv/file.csv')

// Recieve alerts on state of app
myChart.openBroadcastChannel('plot-channel');
bc = new BroadcastChannel.default('plot-channel');
bc.addEventListener('message', onMessage);