@nteract/plotly
v1.49.1
Published
A minimal version of the plotly.js library
Downloads
183
Readme
@nteract/plotly
A minified version of the plotly library.
Installation
npm install @nteract/plotly
Usage Example
const Plotly = require("@nteract/plotly");
const div = document.createElement("div");
document.body.appendChild(div);
Plotly.plot(
div,
[
{
x: [1, 2, 3, 4, 5],
y: [1, 2, 4, 8, 16]
}
],
{
margin: { t: 0 }
}
);
Plotly Library
- Documentation for the plotly.js library: https://plot.ly/javascript/
- Source code for the plotly.js library: https://github.com/plotly/plotly.js
- Release notes for the plotly.js library: https://github.com/plotly/plotly.js/releases