Like every other chart library, just pass the constructor a DIV DOM ID. Function addPoint([x, y]) does what it says. Function draw() also works as expected. There are a tiny # of properties: setProp('xlabel', 'Label'), etc. Documents coming.
Auto-frequency of tics favors the origin; if either axis' origin is visible in the view, tics start there and move left & right or top & bottom. If origin is not on the axis, tics start at the left hand or bottom. See sample image.
Tested on Win10 (at 1, 1.25 & 1.5 pixel ratios) on Firefox (51), Chrome (55) and Edge (who cares), and macOS Safari and Chrome (55) at 2.0 pixel ratio.
- auto-anti-scrunch tics based on font and plot size (what Gnuplot tried to fix back in the day)
- More Map() parameters
- Memory & execution profiling for more optimizations
- custom tic ranges