altitude
v1.0.4
Published
Managing interval-based data
Downloads
9
Readme
altitude
Use in browser:
<script src="https://cdn.jsdelivr.net/npm/altitude@latest"></script>
Import in Node.js:
const al = require('altitude');
or
import * as al from 'altitude';
Example
import * as al from 'altitude';
const intervals = [
[10, 20], [30, 40], [50, 60], [70, 80], [90, 100]
]
r = al()
.data(intervals).data()
console.log(r)