@@ -79,7 +79,7 @@ The main plotly.js bundle weights in at:
79
79
80
80
| plotly.js | plotly.min.js | plotly.min.js + gzip | plotly-with-meta.js |
81
81
| -----------| ---------------| ----------------------| ---------------------|
82
- | 7.2 MB | 3.3 MB | 1007.2 kB | 7.5 MB |
82
+ | 7.2 MB | 3.3 MB | 1005.4 kB | 7.5 MB |
83
83
84
84
## Partial bundles
85
85
@@ -92,11 +92,16 @@ Starting in `v1.15.0`, plotly.js also ships with several _partial_ bundles:
92
92
- [ gl2d] ( #plotlyjs-gl2d )
93
93
- [ mapbox] ( #plotlyjs-mapbox )
94
94
- [ finance] ( #plotlyjs-finance )
95
+ - [ strict] ( #plotlyjs-strict )
95
96
96
97
Starting in ` v1.39.0 ` , each plotly.js partial bundle has a corresponding npm package with no dependencies.
97
98
98
99
Starting in ` v1.50.0 ` , the minified version of each partial bundle is also published to npm in a separate "dist min" package.
99
100
101
+ Starting in ` v2.0.0 ` , the strict partial bundle includes everything except the traces that require function constructors.
102
+ Over time we hope to include more of the remaining trace types here, after which we intend to work on other strict CSP issues
103
+ such as inline CSS that we may not be able to include in the main bundle.
104
+
100
105
### plotly.js basic
101
106
102
107
The ` basic ` partial bundle contains trace modules ` scatter ` , ` bar ` and ` pie ` .
@@ -105,7 +110,7 @@ The `basic` partial bundle contains trace modules `scatter`, `bar` and `pie`.
105
110
106
111
| Raw size | Minified size | Minified + gzip size |
107
112
| ------| -----------------| ------------------------|
108
- | 2.6 MB | 937.1 kB | 307 .9 kB |
113
+ | 2.8 MB | 994 kB | 322 .9 kB |
109
114
110
115
#### CDN links
111
116
@@ -158,7 +163,7 @@ The `cartesian` partial bundle contains trace modules `scatter`, `bar`, `box`, `
158
163
159
164
| Raw size | Minified size | Minified + gzip size |
160
165
| ------| -----------------| ------------------------|
161
- | 3 MB | 1.1 MB | 361 .6 kB |
166
+ | 3.4 MB | 1.2 MB | 391 .6 kB |
162
167
163
168
#### CDN links
164
169
@@ -211,7 +216,7 @@ The `geo` partial bundle contains trace modules `scatter`, `scattergeo` and `cho
211
216
212
217
| Raw size | Minified size | Minified + gzip size |
213
218
| ------| -----------------| ------------------------|
214
- | 2.7 MB | 963.7 kB | 317.3 kB |
219
+ | 2.8 MB | 1020.6 kB | 332.8 kB |
215
220
216
221
#### CDN links
217
222
@@ -264,7 +269,7 @@ The `gl3d` partial bundle contains trace modules `scatter`, `scatter3d`, `surfac
264
269
265
270
| Raw size | Minified size | Minified + gzip size |
266
271
| ------| -----------------| ------------------------|
267
- | 3.7 MB | 1.4 MB | 463.2 kB |
272
+ | 3.8 MB | 1.5 MB | 478.4 kB |
268
273
269
274
#### CDN links
270
275
@@ -311,13 +316,13 @@ npm install plotly.js-gl3d-dist-min
311
316
312
317
### plotly.js gl2d
313
318
314
- The ` gl2d ` partial bundle contains trace modules ` scatter ` , ` scattergl ` , ` splom ` , ` pointcloud ` , ` heatmapgl ` , ` contourgl ` and ` parcoords ` .
319
+ The ` gl2d ` partial bundle contains trace modules ` scatter ` , ` scattergl ` , ` splom ` , ` heatmapgl ` and ` parcoords ` .
315
320
316
321
#### Stats
317
322
318
323
| Raw size | Minified size | Minified + gzip size |
319
324
| ------| -----------------| ------------------------|
320
- | 3.7 MB | 1.5 MB | 488.6 kB |
325
+ | 3.8 MB | 1.5 MB | 496.1 kB |
321
326
322
327
#### CDN links
323
328
@@ -370,7 +375,7 @@ The `mapbox` partial bundle contains trace modules `scatter`, `scattermapbox`, `
370
375
371
376
| Raw size | Minified size | Minified + gzip size |
372
377
| ------| -----------------| ------------------------|
373
- | 3.4 MB | 1.7 MB | 504.4 kB |
378
+ | 3.6 MB | 1.7 MB | 519.7 kB |
374
379
375
380
#### CDN links
376
381
@@ -423,7 +428,7 @@ The `finance` partial bundle contains trace modules `scatter`, `bar`, `histogram
423
428
424
429
| Raw size | Minified size | Minified + gzip size |
425
430
| ------| -----------------| ------------------------|
426
- | 2.8 MB | 1 MB | 333.8 kB |
431
+ | 3 MB | 1.1 MB | 348.7 kB |
427
432
428
433
#### CDN links
429
434
@@ -468,6 +473,59 @@ npm install plotly.js-finance-dist-min
468
473
| CommonJS | ` require('plotly.js/lib/index-finance') ` |
469
474
470
475
476
+ ### plotly.js strict
477
+
478
+ The ` strict ` partial bundle contains trace modules ` scatter ` , ` bar ` , ` box ` , ` heatmap ` , ` histogram ` , ` histogram2d ` , ` histogram2dcontour ` , ` contour ` , ` scatterternary ` , ` violin ` , ` funnel ` , ` waterfall ` , ` image ` , ` pie ` , ` sunburst ` , ` treemap ` , ` funnelarea ` , ` scattergeo ` , ` choropleth ` , ` parcoords ` , ` parcats ` , ` scattermapbox ` , ` choroplethmapbox ` , ` densitymapbox ` , ` sankey ` , ` indicator ` , ` table ` , ` carpet ` , ` scattercarpet ` , ` contourcarpet ` , ` ohlc ` , ` candlestick ` , ` scatterpolar ` and ` barpolar ` .
479
+
480
+ #### Stats
481
+
482
+ | Raw size | Minified size | Minified + gzip size |
483
+ | ------| -----------------| ------------------------|
484
+ | 5.6 MB | 2.6 MB | 773.6 kB |
485
+
486
+ #### CDN links
487
+
488
+ | Flavor | URL |
489
+ | ------ | --- |
490
+ | Latest | https://cdn.plot.ly/plotly-strict-latest.js |
491
+ | Latest minified | https://cdn.plot.ly/plotly-strict-latest.min.js |
492
+ | Tagged | https://cdn.plot.ly/plotly-strict-1.58.4.js |
493
+ | Tagged minified | https://cdn.plot.ly/plotly-strict-1.58.4.min.js |
494
+
495
+ #### npm package (starting in ` v1.39.0 ` )
496
+
497
+ Install [ ` plotly.js-strict-dist ` ] ( https://www.npmjs.com/package/plotly.js-strict-dist ) with
498
+ ```
499
+ npm install plotly.js-strict-dist
500
+ ```
501
+
502
+ ES6 module usage:
503
+ ``` js
504
+ import Plotly from ' plotly.js-strict-dist'
505
+ ```
506
+
507
+ CommonJS usage:
508
+ ``` js
509
+ var Plotly = require (' plotly.js-strict-dist' );
510
+ ```
511
+
512
+ #### dist min npm package (starting in ` v1.50.0 ` )
513
+
514
+ Install [ ` plotly.js-strict-dist-min ` ] ( https://www.npmjs.com/package/plotly.js-strict-dist-min ) with
515
+ ```
516
+ npm install plotly.js-strict-dist-min
517
+ ```
518
+
519
+ #### Other plotly.js entry points
520
+
521
+ | Flavor | Location |
522
+ | ---------------| ----------|
523
+ | dist bundle | ` dist/plotly-strict.js ` |
524
+ | dist bundle (minified) | ` dist/plotly-strict.min.js ` |
525
+ | ES6 module | ` import Plotly from 'plotly.js/lib/index-strict' ` |
526
+ | CommonJS | ` require('plotly.js/lib/index-strict') ` |
527
+
528
+
471
529
----------------
472
530
473
531
_ This file is auto-generated by ` npm run stats ` . Please do not edit this file directly._
0 commit comments