| Class | Method | Parameters | Returns | |-------|--------|------------|---------| | Chart | .updateData(newData) | array | void | | Map | .zoomTo(bbox) | [minLng, minLat, maxLng, maxLat] | void | | Stats | .correlation(arrX, arrY) | number[], number[] | number |
npm install js-visg-m-s
const regression = visg.Stats.linearRegression(dataPoints); // returns slope, intercept, rSquared js-visg-m-s manual
3.2 Troubleshooting
const svgString = dashboard.exportSVG(); | Class | Method | Parameters | Returns