Usage Instructions
Using Mascot.js in a web page
Add the following code to the <head> element in your HTML document:
<script src="https://d3js.org/d3.v7.min.js"></script>
<script src="https://mascot-vis.github.io/lib/pixi.min.js"></script>
<script src="https://mascot-vis.github.io/dist/mascot-min.js"></script>
Download a demo web app showing how to use Mascot.js to create a multi-line graph chart.
Using Mascot.js in an ES6 module
To get the latest version, include “mascot-vis” as a dependency in your package.json file, or do:
npm install mascot-vis
To import Mascot, do:
import * as msc from "mascot-vis"