You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the example above `Plotly` object is added to the window scope by the script in the `head` section.
59
+
The `newPlot` method is then used to draw an interactive figure as described by `data` and `layout` into the desired `div` here named `gd`.
60
+
As demonstrated in the example above basic knowledge of `html` and [JSON](https://en.wikipedia.org/wiki/JSON) syntax is enough to get started i.e. with/without JavaScript!
61
+
To learn and build more with plotly.js please visit [plotly.js documentation](https://plotly.com/javascript).
62
+
63
+
### Un-minified versions are also available on CDN
64
+
While non-minified source files may contain characters outside UTF-8, it is recommended that you specify the `charset` when loading those bundles.
#### Please note that as of v2 the "plotly-latest" outputs (e.g. https://cdn.plot.ly/plotly-latest.min.js) will no longer be updated on the CDN, and will stay at the last v1 patch v1.58.4. Therefore, to use the CDN with plotly.js v2 and higher, you must specify an exact plotly.js version.
##### Please note that as of v2 the "plotly-latest" outputs (e.g. https://cdn.plot.ly/plotly-latest.min.js) will no longer be updated on the CDN, and will stay at the last v1 patch v1.58.4. Therefore, to use the CDN with plotly.js v2 and higher, you must specify an exact plotly.js version.
64
-
65
-
Fastly supports Plotly.js with free CDN service. Read more at <https://www.fastly.com/open-source>
66
-
67
-
### Download the latest release or a release candidate (rc)
68
-
69
-
[Latest and rc releases on GitHub](https://github.com/plotly/plotly.js/releases/)
88
+
---
89
+
## Versioning
70
90
71
-
and use the plotly.js `dist` file(s). More info [here](https://github.com/plotly/plotly.js/blob/master/dist/README.md).
91
+
This project is maintained under the [Semantic Versioning guidelines](https://semver.org/).
72
92
73
-
#### Read the [Getting started page](https://plotly.com/javascript/getting-started/)for more examples.
93
+
See the [Releases section](https://github.com/plotly/plotly.js/releases) of our GitHub project for changelogs for each release version of plotly.js.
74
94
75
-
---
76
95
## Partial bundles
77
96
78
97
There are two kinds of plotly.js partial bundles:
@@ -159,13 +178,6 @@ Please read through our [contributing guidelines](https://github.com/plotly/plot
159
178
on Stack Overflow (tagged [`plotly`](https://stackoverflow.com/questions/tagged/plotly)).
160
179
* Developers should use the keyword `plotly` on packages which modify or add to the functionality of plotly.js when distributing through [npm](https://www.npmjs.com/browse/keyword/plotly).
161
180
162
-
---
163
-
## Versioning
164
-
165
-
This project is maintained under the [Semantic Versioning guidelines](https://semver.org/).
166
-
167
-
See the [Releases section](https://github.com/plotly/plotly.js/releases) of our GitHub project for changelogs for each release version of plotly.js.
0 commit comments