sota.js
v0.2.0
Published
d3-based charting library for The Phillipian's State of the Academy
Downloads
12
Readme
sota.js
Charting library for The Phillipian's annual State of the Academy survey project by Samson Zhang EDE CXLII (@wwsalmon). Built on d3. Currently WIP.
Installation
Using browser/plain JS:
Download or use a cdn to include d3 in your project before sota.js:
<script src="PATH/TO/d3.min.v5.js"></script>
Download
dist/sota.min.js
(eventually this will be in releases...) and include it in your project:<script src="PATH/TO/sota.min.js"></script>
In your app or index js, you can now access the
sota
object with functions likesota.barChart()
.
Using npm:
Run:
npm i sota.js
d3 is a dependency, so you don't have to worry about it separately.
Then, in your app or index js:
import sota from "sota.js"
And now you have access to the sota
object with functions like sota.barChart()
.
Usage
Usage documentation to come.