@@ -18,7 +18,7 @@ chart types, including 3D charts, statistical graphs, and SVG maps.
18
18
* [ Documentation] ( #documentation )
19
19
* [ Contributing] ( #contributing )
20
20
* [ Community] ( #community )
21
- * [ Clients for R, Python, and MATLAB] ( #clients-for-r-python-and-matlab )
21
+ * [ Clients for R, Python, Node, and MATLAB] ( #clients-for-r-python-node -and-matlab )
22
22
* [ Creators] ( #creators )
23
23
* [ Copyright and license] ( #copyright-and-license )
24
24
@@ -33,20 +33,26 @@ chart types, including 3D charts, statistical graphs, and SVG maps.
33
33
git clone https://github.com/plotly/plotly.js.git
34
34
```
35
35
36
+ and use the plotly.js ` dist ` file(s). More info [ here] ( https://github.com/plotly/plotly.js/blob/master/dist/README.md ) .
37
+
36
38
#### Install with ` npm `
37
39
``` bash
38
40
npm install plotly.js
39
41
```
40
42
43
+ and use the plotly.js ` dist ` file(s) or require plotly.js using CommonJS as ` var Plotly = require('plotly.js'); ` .
44
+
41
45
#### Use the plotly.js CDN hosted by Fastly:
42
46
``` html
43
47
<!-- Latest compiled and minified plotly.js JavaScript -->
44
48
<script type =" text/javascript" src =" https://cdn.plot.ly/plotly-latest.min.js" ></script >
45
49
46
- <!-- OR use a specific plotly.js release (e.g. version 1.5.0)-->
50
+ <!-- OR use a specific plotly.js release (e.g. version 1.5.0) -->
47
51
<script type =" text/javascript" src =" https://cdn.plot.ly/plotly-1.5.0.min.js" ></script >
48
52
```
49
53
54
+ and use the ` Plotly ` object in the window scope.
55
+
50
56
Read the [ Getting started page] ( https://plot.ly/javascript/getting-started/ ) for more examples.
51
57
52
58
## Modules
0 commit comments