The map

Part of the Tourism

Each province coloured by **tourist overnight stays per inhabitant**, latest available year: the numerator is ISTAT tourism data, the denominator ISTAT population. Hover for the value.

▶ Use this app

data space «turismo» — this micro app reads and writes the suite’s shared data space.

The other micro apps in the same suite

How it works

This is a Reactive app: a plain text document that your browser turns into a working app — forms, live data, tables, statistics and even charts, with nothing to install or configure.

  1. Use it right away. Hit “Use this app”: it opens right in your browser, ready to go, with data saved only on your device.
  2. Your data stays yours. Everything is stored locally on your device, kept separate for each app: no account, no server, nothing to set up.
  3. Make it your own. The text below is the entire app: copy it, tweak fields, views and words, and your changes become interactive instantly.
  4. Share it as a file. An app is a simple file: save it, export it or share it with a link; and with encrypted collaboration several people edit the same data in real time.
The app’s source
# 🗺️ The map

## Overnight stays per inhabitant, province by province

Each province coloured by **tourist overnight stays per inhabitant**, latest
available year: the numerator is ISTAT tourism data, the denominator ISTAT
population. Hover for the value.

::od-query{into="mappa" sql="SELECT p.provincia AS provincia, p.geojson AS geojson, round(t.presenze / ab.pop, 1) AS presenze_per_ab FROM istat_confini_province p JOIN turismo t ON t.sigla = p.sigla JOIN (SELECT c.sigla, sum(po.popolazione) AS pop FROM istat_confini_comuni c JOIN istat_popolazione po ON po.codice_istat = c.codice_istat GROUP BY 1) ab ON ab.sigla = p.sigla WHERE t.anno = (SELECT max(anno) FROM turismo)" limit="150"}

:::map{path="mappa" geojson="geojson" fill="presenze_per_ab" height="28rem"}
**{provincia}** — {presenze_per_ab} tourist overnight stays per inhabitant
:::

Art cities and seaside/mountain destinations top the chart by an order of
magnitude over the rest: a direct indicator of tourism pressure on the
territory.