eurostat-map

Reusable library to quickly create and customise web maps showing Eurostat data directly retrieved from Eurostat database.

Usage no npm install needed!

<script type="module">
  import eurostatMap from 'https://cdn.skypack.dev/eurostat-map';
</script>

README

eurostat-map.js

npm bundle size npm Build Status license

Reusable library to quickly create and customise web maps based on NUTS regions, showing Eurostat data directly retrieved from the Eurostat database.

Examples

Installation

  • Node.js: With npm install eurostatmap and then eurostatmap = require("eurostatmap").
  • Standalone: For the latest version, use <script src="https://unpkg.com/eurostat-map"></script> as shown in the examples. For a fixed version, use <script src="https://unpkg.com/eurostat-map@X.Y.Z"></script>, where X.Y.Z is a version number among these ones.

Documentation

See the API reference:

Anything unclear or missing? Feel free to ask !

Technical details

Maps based on NUTS regions rely on Nuts2json API and TopoJSON format. Statistical data are accessed using Eurostat REST webservice for JSON-stat data. The data are decoded and queried using JSON-stat library. Maps are rendered as SVG maps using D3.js library.

About

contributors
version See npm
status Since 2018
license EUPL 1.2

Support and contribution

Feel free to ask support, fork the project or simply star it (it's always a pleasure).

Copyright

The Eurostat NUTS dataset is copyrighted. There are specific provisions for the usage of this dataset which must be respected. The usage of these data is subject to their acceptance. See the Eurostat-GISCO website for more information.

Disclaimer

The designations employed and the presentation of material on these maps do not imply the expression of any opinion whatsoever on the part of the European Union concerning the legal status of any country, territory, city or area or of its authorities, or concerning the delimitation of its frontiers or boundaries. Kosovo*: This designation is without prejudice to positions on status, and is in line with UNSCR 1244/1999 and the ICJ Opinion on the Kosovo declaration of independence. Palestine*: This designation shall not be construed as recognition of a State of Palestine and is without prejudice to the individual positions of the Member States on this issue.