eurostat-map 4.3.16 → 4.3.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -10
- package/build/222.eurostatmap.min.js +2 -2
- package/build/eurostatmap.js +58199 -61377
- package/build/eurostatmap.min.js +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -33,8 +33,6 @@
|
|
|
33
33
|
- [Table of Contents](#table-of-contents)
|
|
34
34
|
- [Examples](#examples)
|
|
35
35
|
- [Installation](#installation)
|
|
36
|
-
- [Node.js](#nodejs)
|
|
37
|
-
- [Standalone](#standalone)
|
|
38
36
|
- [Documentation](#documentation)
|
|
39
37
|
- [Technical details](#technical-details)
|
|
40
38
|
- [About](#about)
|
|
@@ -117,14 +115,14 @@ For detailed documentation see the **[API reference page](docs/reference.md)**.
|
|
|
117
115
|
|
|
118
116
|
Code examples:
|
|
119
117
|
|
|
120
|
-
-
|
|
121
|
-
-
|
|
122
|
-
-
|
|
123
|
-
-
|
|
124
|
-
-
|
|
125
|
-
-
|
|
126
|
-
-
|
|
127
|
-
-
|
|
118
|
+
- [choropleth map](docs/reference.md#choropleth-map),
|
|
119
|
+
- [proportional symbol map](docs/reference.md#proportional-symbol-map),
|
|
120
|
+
- [proportional pie chart map](docs/reference.md#proportional-pie-chart-map),
|
|
121
|
+
- [categorical map](docs/reference.md#categorical-map).
|
|
122
|
+
- [bivariate choropleth map](docs/reference.md#bivariate-choropleth-map).
|
|
123
|
+
- [stripe composition map](docs/reference.md#stripe-composition-map).
|
|
124
|
+
- [sparkline map](docs/reference.md#sparkline-map).
|
|
125
|
+
- [flow map](docs/reference.md#flow-map).
|
|
128
126
|
|
|
129
127
|
Anything unclear or missing? Feel free to [ask](https://github.com/eurostat/eurostat.js/issues/new) !
|
|
130
128
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/*! /*! eurostat-map v4.3.
|
|
2
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.eurostatmap=t():e.eurostatmap=t()}(self,(
|
|
1
|
+
/*! /*! eurostat-map v4.3.17 | 2025 Eurostat | EUPL License. See https://github.com/eurostat/eurostat-map/blob/master/LICENSE * / */
|
|
2
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.eurostatmap=t():e.eurostatmap=t()}(self,()=>(onmessage=function(e){var t=e.data,o=t.nodes,r=t.radii,n=t.strengthX,s=t.strengthY,i=t.iterations,p=t.d3URL;importScripts(p||"https://unpkg.com/d3@7/dist/d3.min.js");for(var c=o.map(function(e,t){return e.x=e.properties.centroid[0],e.y=e.properties.centroid[1],e.r=r[t],e}),a=d3.forceSimulation(c).force("x",d3.forceX(function(e){return e.properties.centroid[0]}).strength(n)).force("y",d3.forceY(function(e){return e.properties.centroid[1]}).strength(s)).force("collide",d3.forceCollide(function(e){return e.r}).iterations(i)).stop(),d=Math.ceil(Math.log(a.alphaMin())/Math.log(1-a.alphaDecay())),f=0;f<d;f++)a.tick(),f%10==0&&postMessage({type:"progress",progress:f,total:d});postMessage({type:"end",nodes:c}),self.close()},{}));
|