lotivis

1.0.107 • Public • Published

lotivis: location time visualization Node.js CI

lotivis (or lotivis.js) is a JavaScript library for visualizing location and time specific data using D3.

Resources

Installing

If you use npm, npm install lotivis. You can also download the latest release on GitHub. For vanilla HTML in modern browsers, import lotivis from Skypack:

<script type="module">

import * as lotivis from "https://cdn.skypack.dev/lotivis@1";

const barChart = lotivis.bar();

</script>

For legacy environments, you can load lotivis’s UMD bundle from an npm-based CDN such as jsDelivr; a lotivis global is exported:

<script src="https://cdn.jsdelivr.net/npm/lotivis@1"></script>
<script>

const barChart = lotivis.bar();

</script>

You can also use the standalone lotivis microlibraries. For example, lotivis-data:

<script type="module">

import { DataController } from "https://cdn.skypack.dev/lotivis-data@1";

const data = [/* */]
const dc = new DataController(data);

</script>

Development

To start development run:

// stars rollup with -c -w arguments
$ npm run develop

// starts a http-server serving the examples
$ npm run develop:example

// start developing...


// tests can be run with
$ npm run test

Repository management

# make sure working dir is clean

# patch version of project
npm version patch

# puch version update
git push --follow-tags

Package Sidebar

Install

npm i lotivis

Weekly Downloads

0

Version

1.0.107

License

MIT

Unpacked Size

2.4 MB

Total Files

6

Last publish

Collaborators

  • lukasdanckj