Skip to content

mzechmeister/csvplotter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

csvplotter

Plot csv files online with plotly.

Online demo:

Features:

  • automatic csv file parsing
  • drag&drop of file columns
  • file and function plotting
  • zooming with keyboard keys; rubber band zoom with right-click drag
  • everything in javascript (i.e. client side execution)
  • shareable via url parameters

Short cuts:

key description
g toggle grid
r ruler
l logscale for y-axis
L logscale for x-axis
+ zoom in
- zoom out
u reset zoom
pan right
pan left
pan up
pan down
Home pan left by one page
End pan right by one page
PageUp pan up by one page
PageDown pan down by one page
Ctrl horizontal zoom in
Ctrl horizontal zoom out
Ctrl vertical zoom in
Ctrl vertical zoom out
X horizontal unzoom to global data extremes
Y vertical unzoom to global data extremes
U unzoom to global data extremes
x horizontal unzoom to local data extremes
y vertical unzoom to local data extremes
0 start y-range to 0

Tips:

  • To join strings, in particular for the tag field, math.js provides the concat and string functions, e.g. concat(string($"manufacturer"), "<br>", string($"qsec")).
  • Local files can be loaded by drag&drop to the filename field.
  • To sent files from the command line see csv_sent.py.

Inspired by gnuplot, desmos.com, and csvplot.com.