Submitted:
28 October 2026
Posted:
29 October 2026
You are already at the latest version
Abstract
Air pollution has long been a growing concern, shaped by disparities in economic development, industrialization, and urbanization. In this context, this study quantifies the spatial and temporal interactions between socio-economic indicators and key air pollutants using European region as case study. To this end, socio-economic datasets, alongside air pollution levels derived from numerical modeling, are used to perform a versatile statistical analysis that can be applied to regions beyond Europe. The obtained results identify four distinct country groups, including a prosperous north-central cluster with the cleanest air, a southern block characterized by high ozone and particulate burdens alongside economic vulnerability, a populous central-western triad showing elevated nitrogen oxide levels, and an eastern cluster that remains largely neutral. The findings confirm a close coupling between social inequality and environ-mental exposure, demonstrate both the power and limitations of freely available data, and suggest that such clustering can guide future, targeted investigations. Moreover, cross-national averages may mask within-country inequalities, underscoring the need for finer-scale, multi-year analyses in future work. These insights provide a foundation for more equitable and effective environmental policies across Europe and beyond.
Keywords:
air pollution
; environmental-justice metrics
; clustering analysis
; European countries
1. Introduction
Air pollution remains one of the most pressing environmental challenges in Europe, with significant consequences for human health (Amann et al., 2011; Manisalidis et al., 2020; Viegi et al., 2020) and the economy (Silveira et al., 2024). This issue varies widely across countries due to both human-made (Lopes et al., 2024b) and natural emission sources (Lopes et al., 2024a), as well as the complex and dynamic nature of the atmosphere, that involve physical and chemical processes (Seinfeld and Pandis, 2016). Consequently, countries that emit or are indirectly responsible for most of the release of air pollutants in the atmosphere are not necessarily the ones experiencing the highest concentrations, as these pollutants can travel and accumulate in distant areas (Monteiro et al., 2015).
This non-uniform distribution of pollution raises important questions about social justice, as vulnerable populations, particularly those in economically disadvantaged areas, are often exposed to higher levels of air pollution, exacerbating existing socio-economic inequalities (Clark et al., 2014). Over the years, studies have explored the relationship between air quality, socio-economic conditions and health outcomes (Muoneke et al., 2023; Viegi et al., 2020). These studies seek to evaluate social and economic disparities, assessing how these factors correlate with atmospheric pollution in different areas. Martins et al. (2021) already attempted to quantify the impact of air quality data on health indicators using a time series analysis approach with co-variates, providing early insights into this complex relationship. However, such studies are still limited, focusing primarily on the metropolitan and national level, while a broader, systematic analysis in a large number of countries and/or cities is still scarce (Amann et al., 2011; Viegi et al., 2020).
Previous research was able to identify patterns in the exposure to air pollution related to different social groups and geographical areas (Bosch-Checa et al., 2024). Nonetheless, the approaches used to investigate these patterns remain varied, highlighting the need for further research in the field (Hajat et al., 2015). The common approach involves gathering spatial and temporal data from public databases or monitoring measurements. This data is then analyzed to generate statistical insights that inform policymaking. However, the integration of socio-economic, health and environmental data remains a complex challenge (Reis et al., 2015). The large volume of available data requires a systematic filtering process to ensure relevant factors are addressed. Additionally, the diverse formats of data, often produced by different institutions with varying conventions, make aggregation a difficult task. These discrepancies can lead to data loss or the need for extensive inter- and extrapolation (Putrama and Martinek, 2024).
In this context, two key questions arise: How do socio-economic disparities shape air pollution distribution across European countries, and what are the potentials and limitations of using open-source data to analyze these relationships? To address these questions, this study takes an exploratory approach to analyzing air quality and socio-economic from European sub-countries. By employing a clustering method, the research aims to identify European countries with similar air quality and socio-economic profiles, grouping them into distinct clusters with specific characteristics. Additionally, this study seeks to assess the feasibility and limitations of using open-source data for environmental justice research.
This paper is outlined as follows. Section 2 describes the experimental data used in this work, detailing the data sources and some pre-processing. Section 3 presents the methods, including interpolation and normalization of data to ensure consistency before applying the clustering analysis techniques. Section 4 presents the results, showcasing the main results of clustering the countries based on key air pollutants and socio-economic parameters. Finally, Section 5 provides the overall discussion of the work on the observed patterns, including geographical clustering tendencies examined in the context of socio-economic and environmental disparities across Europe.
2. Experimental Data
Data for this study were obtained from three primary sources: Nomenclature of Territorial Units for Statistics (NUTS) geospatial data from Eurostat (Eurostat GISCO, 2024), socio-economic parameters from Eurostat’s public European databases (Eurostat, 2025), and air quality data from the Copernicus Atmosphere Monitoring Service (CAMS) reanalysis dataset (Copernicus Atmosphere Monitoring Service (CAMS), 2024).
The NUTS dataset provides geo-referenced shapes representing European territorial di-visions (Eurostat GISCO, 2024). It consists of three hierarchical levels, with level 0 corresponding to country divisions. For this study, level 0 was selected due to the limited availability of socio-economic data at finer levels. The dataset was retrieved from the Eurostat website and serves as a spatial reference framework to integrate the socio-economic and air quality datasets. NUTS IDs’ represent countries as follows: BE: Belgium, BG: Bulgaria, CZ: Czechia, DK: Denmark, DE: Germany, EE: Estonia, IE: Ireland, EL: Greece, ES: Spain, FR: France, HR: Croatia, IT: Italy, CY: Cyprus, LV: Latvia, LT: Lithuania, LU: Luxembourg, HU: Hungary, MT: Malta, NL: Netherlands, AT: Austria, PL: Poland, PT: Portugal, RO: Romania, SI: Slovenia, SK: Slovakia, FI: Finland, SE: Sweden, IS: Island, LI: Lichtenstein, NO: Norway, CH: Switzerland, BA: Bosnia and Herzegovina, ME: Montenegro, MD: Moldova, GE: Georgia, MK: North Macedonia, AL: Albania, RS: Serbia, TR: Türkiye, UA: Ukraine, XK: Kosovo
Socio-economic data were extracted from the Eurostat online database (Eurostat, 2025), which provides harmonized statistics across the European Union (EU) member states. The selected parameters include Gross Domestic Product (GDP) per capita, average employee compensation per hour worked, house price-to-income ratio, intentional homicide rates, employment in creative sectors, population size, and healthcare financing revenues. These indicators were chosen with the objective of maximizing the dimensions taken as input. Finally, air quality data were sourced from the CAMS European Air Quality Reanalysis dataset (Copernicus Atmosphere Monitoring Service (CAMS), 2024). This dataset is the combination of in-situ and satellite observations with chemical-transport modelling through data assimilation, delivering hourly fields of key pollutants at ∼10 km resolution across Europe from 2013 onward. The key air pollutants included in the analysis were ozone, nitrogen dioxide and particulate matter smaller than 10 µm, from here on O3, NO2, and PM10, respectively. This selection excludes PM2.5 of the available variables, because it has a direct relationship with PM10, one being a subset of the other. The data have a spatial resolution of 0.1◦× 0.1◦(approximately 10 km) and an hourly temporal resolution, with monthly and annual aggregations spanning from 2013 to 2021.
The data, compiled from different databases, required pre-processing to ensure consistency in spatial and temporal analysis. This process was performed using a high-level programming language and involved the following key steps. CAMS data, originally available at high spatial (10×10 km²) and temporal (hourly) resolution, was downscaled to match the socio-economic data, producing yearly average pollutant concentrations for each NUTS0 country. The data was transformed into a structured grid format and integrated with the NUTS shape file. Furthermore, Eurostat socio-economic datasets were visually analyzed and refined. Each of the data files had a slightly different format, which had to be converted to a common format. In addition, the files had gaps and missing values. Here, these details were identified for correction according to the interpolation procedure detailed in Section 3. Figure 1 shows an example of the concentration of O3 across Europe in the year 2013. It presents a large set of countries, because the data on O3 concentration covers the whole European area. Southern European countries have the highest O3 concentrations, whereas central Europe and some eastern countries have the lowest. Figure 2 shows an example of GDP per capita in European countries, where countries are missing due to gaps and missing data in some countries (such as Switzerland, Iceland and Kosovo) for the year 2013.
Second, it is possible to make a first assessment visually analyzing the two figures. High concentrations of O3 are more predominant in southern countries, while central and parts of eastern Europe have the lowest levels. With respect to GDP per capita, there is a clear separation between eastern Europe and its neighbors. Eastern Europe exhibits the lowest levels (below 30.000 euros). However, the rest of Europe follows a different trend, starting in the south, the rule is to increase GDP per capita with increasing latitude. So, southern European countries (Portugal, Spain and Italy) exhibit medium-low levels, and northern countries have the highest levels (Norway, Sweden and Finland). The exception is Luxem-bourg, that has the highest GDP per capita in Europe but is surrounded my medium level countries.
Variables selected for analyses consist of 3 key pollutants and 11 socio-economic indicators. Table 1 has all the variables considered in this analysis, as well as the string used for simplicity and the units. Each variable adds a different dimension and has no dependence relationship on any of the others.
3. Methods
Given the inherent data quality issues in the Eurostat datasets and the diversity of temporal coverage across countries, several preprocessing steps were implemented to ensure the robust-ness of subsequent analyses. These include data interpolation to handle missing temporal points, normalization techniques to harmonize variables with different scales and magni-tudes, and clustering algorithms to group countries based on their multi-year, multi-variable profiles. To validate and compare the clustering results, measures of agreement were employed. Each methodological choice is designed to maximize interpretability and reliability while accounting for the complexities and imperfections inherent in the data. The following subsections detail each of these steps.
3.1. Interpolation
Data files combining air pollutant concentrations and socio-economic indicators per NUTS ID were created. Then, an interpolation algorithm was developed. As mentioned above, Eurostat datasets have flaws and as so, interpolation across time in these files can add useful information to the following clustering analysis. Only countries with a full set of data on the period considered are part of this study. Hence, interpolation can ultimately add more countries to the study case. A defensive approach was implemented, interpolating a maximum of over 3 points in time, that is, a leap of 3 missing years. This is because the study period consists of only 9 years.
Three types of interpolation were implemented, tested and compared for robustness of the validation of results: linear, polynomial and spline (SciPy, 2024a). The first assumes that the change between adjacent points is linear. This method does not produce a smooth curve, but it is simple and computationally efficient. On the other hand, both the polynomial method and the spline method fit polynomial functions to the dataset. The polynomials fit a function to the whole range of the dataset, while the spline method fits polynomials to smaller segments between pairs of data points (Meijering, 2002).
3.2. Normalization
The time series of each variable was normalized before clustering. Using absolute values would result in countries with larger ranges of values dominating the clustering. Besides, normalization conserves the behavior of variables. Hence, the values were normalized using two methods: standardization and min-max scaler. The standardized value of a variable at a given data point, denoted x′, can be calculated as x′ = , where x is the original value, µ is the mean of the variable across all data points, and σ is the standard deviation of the variable. The min-max normalized value of a variable at a given data point, denoted x′, can be calculated as x′ = , where x is the original value, and min(x) and max(x) are the minimum and maximum values of the variable across all data points, respectively.
Different normalization methods yield different results, offering complementary insights into the data. Z-score standardization centers each variable to a mean of 0 with a standard deviation of 1, making it robust to outliers and appropriate when comparing variables on different scales (Scikit-learn, 2024d). In contrast, min-max scaling rescales data to a fixed range, typically [0,1], which preserves relationships between minimum and maximum values but can be sensitive to outliers—extreme values may distort the scaling and compress the majority of data points (Scikit-learn, 2024b). Understanding these differences is key to interpreting the clustering results.
3.3. Clustering Analysis
Two types of clustering methodologies were implemented and tested in this study, agglomerative hierarchical clustering (Ward’s method) and K-means: Ward’s method is an agglomerative clustering technique that starts by treating each data point as its own cluster and then iteratively merges the pair of clusters. The combination results in the smallest increase within the cluster variance, thereby producing compact, homogeneous clusters (Murtagh and Legendre,2014; SciPy,2024b). K-means clustering is an iterative algorithm that partitions data into k clusters by minimizing the within-cluster variance. It starts by randomly initializing k centroids, then repeatedly assigns each data point to the nearest centroid and recalculates centroids as the mean of all points in the assigned cluster, until the assignments stabilize, or a maximum number of iterations is reached (Ahmed et al., 2020; Scikit-learn, 2024a).
The first technique naturally produces tree-like connections between all points (countries) and, as so, can be represented by a dendrogram. This means that the number of clusters resulting from it can be arbitrarily chosen from the performed clustering procedure. Hence, it is possible to take this value and use it as input to the K-means clustering algorithm. This facilitates comparison between both algorithms.
The number of clusters k that is fed into the K-means can also be selected from in-dependent tests, such as the Elbow method and the Silhouette test. The Elbow test plots a metric like within-cluster variance against the number of clusters, identifying an “elbow” point where adding more clusters yields only marginal improvements, suggesting the optimal cluster count (Umargono et al., 2020). The Silhouette test measures how well each point fits within its cluster relative to others, assigning higher scores to points that are well-matched to their own cluster. Averaging these scores for different cluster counts helps identify the optimal number of clusters as the one with the highest silhouette score (Scikit-learn, 2024c; Wang et al., 2017).
3.4. Measures of Agreement
Measures of agreement were used to compare clusterings from different runs. These include a contingency matrix, Rand Index (RI) and Adjusted Rand Index (ARI) to assess clustering similarity.
A contingency matrix summarizes the overlap between two cluster assignments by tabulating the counts of data points assigned to each pair of clusters. Rows correspond to clusters from one clustering, and columns represent clusters from the other. Diagonal dominance indicates strong agreement between clusterings. This matrix forms the foundation for computing metrics like the RI and the ARI, which evaluate clustering similarity. The RI can be calculated from:
where True Positives (TP) are pairs clustered together in both clusterings, True Negatives (TN) are pairs clustered separately in both, False Positives (FP) are pairs grouped together in one clustering but separated in the other, and False Negatives (FN) are pairs separated in one clustering but grouped together in the other. The RI ranges from 0 to 1, where 1 indicates perfect agreement between the two clusterings and 0 indicates no agreement. ARI corrects for chance groupings, assigning values close to 0 for random clustering results and ranging from –1 (complete disagreement) to 1 (perfect match).
3.5. Analytical Procedures and Data Inputs
For the clustering including both pollutants and socio-economic indicators, variables were selected to avoid excluding countries with missing data. The clustering defined the input parameters for the subsequent analyses to ensure consistency. We implemented a combinatorial-search algorithm to select the subset of variables that maximized the number of countries with complete data. Of the 14 candidate variables, 13 were retained (excluding “Revenues of Health care financing schemes”), which yielded 24 countries with a complete dataset over the study period. The use of interpolation added 2 countries, for a final sample of 26.
4. Results
The optimal number of clusters for K-means was first assessed using the Elbow and Silhouette methods. The Silhouette test suggested an ideal value of k = 7 (score = 0.2300), which was consistent with the outcome of the Elbow method. However, due to the limited sample size, the number of clusters was reduced to k = 4 (score = 0.2190) to facilitate interpretability, with only a minor decrease in clustering performance.
Following this, the impact of different pre-processing configurations—including interpolation methods, normalization techniques, and variable subsets—was evaluated to understand their influence on the stability of the resulting K-means clusters. Stability was quantified using the RI and ARI, along with contingency matrices. Based on this analysis, a representative configuration was selected (Z-score normalization, spline interpolation, and inclusion of all variables). The decision to retain k = 4 was further supported through a hierarchical dendrogram, which highlighted geographically coherent clusters. To characterize the temporal dynamics of each cluster, a heatmap of centroids over the 2013–2021 period was generated, revealing distinctive socio-economic and air-quality trends within each region.
4.1. Comparing Pre-Processing Strategies
The clustering algorithm was run using three interpolation methods, no interpolation and two normalization techniques. To compare results, various tests were performed. Besides, runs using only pollutants and only socio-economic variables were also performed. Table 2 indexes each combination of parameters used to construct 12 clusterings. Each run corresponds to a normalization method, an interpolation method and variables utilized. Figure 3 shows the results of each clustering on a map for visual interpretation. Different parameterizations produce different clusters. Note that plots 6 and 12 represent the cases of no interpolation and, therefore, have two missing countries (France and Spain). For this reason, these two cases can not be part of a proper comparative analysis, but can still be subjected to a visual analysis.
A first look at Figure 3 indicates the existence of a relationship between geographical location and clusters. Regardless of the clustering run, clusters tend to be composed of neighboring countries. Atmospheric pollutants are transported across national borders by large-scale meteorological processes, making air pollution a trans-boundary issue. Also, it seems like a natural relationship, because countries that are close to each other usually share characteristics, being cultural, climatic, or historical and, as such, tend to have stronger ties socially and economically. Surely, there are exceptions (to some extent) to this, but the fact is that no country is completely isolated, with relationships with neighboring countries appearing as a necessary resource. This idea can be expanded to a broader view of Europe, meaning that this geographical area can be interpreted as a list of points (each country) that have certain characteristics that change over time. This is a simplistic approach in the general panorama, but when reducing to a small period of time, it might yield useful insights.
In total, 11 comparisons between pairs of clusterings were conducted (a)-k). The RI and ARI calculated for each are shown in Table 3. Figure 4 shows the contingency matrices.
The clusters produced by varying interpolation methods are identical. In Figure 3, runs 1), 2) and 3), differ only in the interpolation method used to create the input data (spline, polynomial and linear). However, the exact same clusters are assembled, and the three plots are indistinguishable. Therefore, the RI and ARI tests score the maximum values (see Table 3). Also, the contingency matrices for these cases form a perfect diagonal (Figure 4, cases a) and b)). Exactly the same happens between runs 7), 8) and 9). So, the interpolation method does not affect the clustering for the given data, at least for this k) value. This reduces the number of cases to 8 (runs 1), 4), 5, 6), 7), 10), 11) and 12)), since the three types of interpolation produce only one result in both sets.
There are cases where interpolation was not applied (Table 2, runs 9) and 12)). These serve to show the gain in information compared to the other cases. On a map, no interpolation corresponds to losing a significant area. These were not subjected to rigorous analysis due to the incompatibility of the data with the cases where interpolation was performed. Nevertheless, visual inspection reveals a huge similarity between interpolated and non-interpolated cases. That is, for both normalizations, the interpolated cases produce almost identical clusters to the non-interpolated cases (excluding France and Spain).
Separately clustering by pollutants and by socio-economic indicators produced the most extreme results. Similarities with the runs where all variables are used are significant (see 3, cases c), d), h), i)), because these are subsets of such runs. The pollutants (3 variables) have less weight on the runs using all variables, hence diverge more from it, while the socio economic parameters (10 variables) do not diverge as much.
The comparison between clustering of pollutants with socio-economic variables reveals a connection that can be evaluated (see Table 3, cases e) and j)). Of all the RI and ARI tests performed, these score the lowest, e): 0.6062 / 0.0606 and j): 0.6215 / 0.0898, respectively. The score on these is slightly above the score expected from random chance, that is 0.0 for the ARI test. Visual analysis of Figure 4, cases e) and j), shows that the corresponding contingency matrices exhibit a poorly defined diagonal trend.
4.2. Case Study: Detailed Analysis of Run 1
As previously discussed, runs produce different results. Albeit, the run including all 13 vari-ables is chosen for analysis, since between the runs with this particular condition, variations are not substantial.
The hierarchical clustering produced the dendrogram presented in Figure 5. This figure enables a simple visualization of the distance between each country and aids in understanding the clusters that appear. It also serves as a tool to decide an arbitrary number of clusters k in the K-means algorithm. The number of clusters appears as a horizontal line is drawn through the plot at a chosen distance value. At a distance of 23, the inverted tree-like structure is divided to the previously selected value of 4 clusters. The clusters produced here are identical to those produced by the following K-means algorithm.
Figure 6 maps the 4-cluster solution from K-means in the study region. The choice of showing the results on a map instead of a table serves the purpose of showing the geographical distribution of the countries in each cluster. The clusters are mostly made up of neighboring countries. Supporting that there is a relationship between the geographical location and the cluster to which a country belongs. The resulting clusters fairly correspond to geographical areas of Europe: Eastern, Northern, Central and Southern Europe.
Figure 7 shows the patterns in the centroids of the 4 clusters over time, summarizes all the information of each cluster in a simple form. It facilitates the reading of parameters through colors that bridge the quantitative nature of the analysis with a qualitative picture of the results. Looking at the respective column of one cluster, characteristic features are easily attained. A closer look can shed light on existing trends. The clusters are described by the behavior of all variables from 2013 to 2021. Therefore, the heatmap considers the development of a variable in that period. An example of this would be the stable nature of unemployment in clusters 2 and 3 versus the decreasing values in cluster 4. The clustering process captures not only the values themselves, but also the trends that each country follows, leading to a more in-depth understanding of the study case. On the other hand, there are other features that are clear, like the violent crimes per hundred thousand inhabitants in cluster 3 that is maintained constant in time but differs substantially from other clusters.
It is important to understand the variables, especially the socio-economic ones. For that, we recommend further inspection of the Eurostat database (see Eurostat (2025)). Some of these variables exhibit homogeneity in time and throughout clusters. An example of this is OADR (old age dependency ratio), possibly meaning that the whole Europe follows a trend. In this case, both the color (light tones) and the variation (from blue to red) are similar in all clusters. In other words, a possible conclusion could be that the number of elderly people compared to the number of young people varies little across European countries and that the general trend is for this ratio to increase with time. Other variables exhibit highly variable patterns. Pollutants are the best example (especially O3), as they take values across the entire range of values. In addition, there are no coherent trends in time, except for the case of the concentration of NO2 and of PM10 in cluster 2, which appear to increase with time.
From the perspective of the characteristics of each cluster, interesting conclusions can also be drawn (see Figure 6 and Figure 7). Cluster 1 exhibits light tones across all points, meaning values are close to the mean in all variables, most of them with variable or constant behavior. This cluster is composed of eastern countries and seems to have the most neutral behavior among the 4 clusters. Cluster 2, on the other hand, manifests variables with increasing and decreasing trends such as OADR, GDP per capita and house price to income ratio. This cluster is made up of northern countries plus Ireland, the Netherlands, Luxemburg and Austria. Clusters 1 and 2 have the lowest concentrations of pollutants in general. Cluster 3, the smallest, counts with the contribution of only three countries from central Europe, France, Belgium and Germany. It reveals the highest levels of NO2 concentration, population size and violent crimes, substantially above the other clusters. Cluster 4, which consists of only southern countries, has the highest levels of O3 and of PM10. The education levels are the lowest but show a pattern of increment. The levels of unemployment are the highest but show a tendency to decrease in the period of interest.
5. Conclusions
This study demonstrates that European countries display clear socio-economic and air-quality gradients, with northern and central regions generally experiencing higher average incomes, lower unemployment, and cleaner air compared to southern and peripheral regions. The sensitivity analyses—across interpolation methods, normalization schemes and variable subsets—show that while the choice of interpolation has virtually no impact on the final clusters, the selection of indicators (all 13 variables vs only pollutants or only socio-economic measures) markedly alters the grouping. Quantitatively, the RI and ARI show perfect agreement between different interpolation methods, but drop to near zero when comparing clusters based on pollutants versus those based on socio-economic variables-highlighting that the choice of variables has a much greater impact on the resulting cluster structure.
Focusing on a representative clustering (Z-score, cubic-spline, k = 4), the resulting four clusters were spatially coherent roughly corresponding to Eastern, Northern, Central and Southern Europe. A temporal heatmap of cluster centroids (2013–2021) further highlights stable low unemployment in clusters 2 and 3 versus declining unemployment in cluster 4, or persistently high NO2 in Central Europe compared to rising O3 in the South.
Nonetheless, the findings are conditioned by methodological choices and data limitations. First, exclusion of France and Spain in the “no-interpolation” runs points to challenges in handling missing data for spatial analyses. Second, the static nature of clustering does not capture potential regime shifts or sudden shocks (e.g., economic crises) that may reconfigure regional profiles. Third, while 13 variables cover a broad spectrum of socio-economic and environmental factors, they omit others—such as detailed meteorological data or finer-scale urban vs rural distinctions—that could refine cluster boundaries.
Looking forward, several avenues for extension emerge. Incorporating dynamic clustering techniques (e.g., time-varying mixture models) could reveal how countries migrate between clusters over time. Enriching the feature set with additional environmental metrics (e.g., greenhouse gas emissions) and socio-demographic indicators (e.g., education quality) would provide a more nuanced picture. Finally, causal inference methods—linking policy variables to follow-on changes in cluster membership—could inform targeted interventions aimed at reducing regional disparities.
This analysis offers a robust framework for identifying spatial and temporal patterns in European socio-economic and air-quality data, providing insights that may guide future research and policy toward more equitable and sustainable regional development.
Funding
This work was developed within the scope of the R&D project ALICE (DOI: 10.54499/2022.04351.PTDC), funded by national funds (OE), through FCT I.P. - Foundation for Science and Technology (Portugal). This work was also partially funded by FCT within the scope of CESAM (UIDP/50017/2020+UIDB/50017/2020+LA/P/0094/2020) and IEETA (UIDB/00127/2020, http://www.ieeta.pt/).
Acknowledgments
During the preparation of this work the author(s) used ChatGPT in order to refine and clarify text. After using this tool, the authors reviewed and edited the content as needed and take full responsibility for the content of the publication.
References
- Ahmed, Mohiuddin; Seraj, Raihan; Islam, Syed Mohammed Shamsul. The k-means al-gorithm: A comprehensive survey and performance evaluation. Electronics 2020, 9, 1295. [Google Scholar] [CrossRef]
- Amann, M.; Bertok, I.; Borken-Kleefeld, J.; Cofala, J.; Heyes, C.; Ho¨glund-Isaksson, L.; Klimont, Z.; Nguyen, B.; Posch, M.; Rafaj, P.; Sandler, R.; Scho¨pp, W.; Wagner, F.; Winiwarter, W. Cost-effective control of air quality and greenhouse gases in europe: Modeling and policy applications. Environ. Model. Softw. 2011, 26(12), 1489–1501. [Google Scholar] [CrossRef]
- Bosch-Checa, C.; Porres de la Haza, M.J.; Coll-Aliaga, E.; Lerma-Arce, V.; Lorenzo-Sa’ez, E. Development of a methodology for the evaluation of environmental equity at urban level with high spatial resolution. case study in valencia (spain). Environ. Sustain. Indic. 2024, 22, 100375. [Google Scholar] [CrossRef]
- Clark, L. P.; Millet, D. B.; Marshall, J. D. National patterns in environmental injustice and inequality: Outdoor no2 air pollution in the united states. Environ. Health Perspect. 2014, 122(12), 1313–1318. [Google Scholar] [CrossRef]
- Copernicus Atmosphere Monitoring Service (CAMS). Atmospheric composition and air qual-ity data. ECMWF, 2024. Available online: https://atmosphere.copernicus.eu/data. (accessed on 15 July 2025).
- Eurostat. Eurostat database. European Commission. 2025. Available online: https://ec.europa.eu/ (accessed on 15 July 2025).
- Eurostat GISCO. Territorial units for statistics - geodata. European Commission. 2024. Available online: https://ec.europa.eu/eurostat/web/gisco/geodata/statistical-units/ (accessed on 15 July 2025).
- Hajat, C. Hsia; O’Neill, M.S. Socioeconomic disparities and air pollution exposure: A global review. Curr. Environ. Health Rep. 2015, 2, 440–450. [Google Scholar] [CrossRef] [PubMed]
- Lopes, D.; Menezes, I.C.; Reis, J.; Coelho, S.; Almeida, M.; Viegas, D.X.; Borrego, C.; Miranda, A.I. The short-term impacts of the 2017 portuguese wildfires on human health and visibility: A case study. Fire 2024a, 7:34. [Google Scholar] [CrossRef]
- Lopes, D.; Rosa, M.; Gra¸ca, D.; Rafael, S.; Ferreira, J.; Lopes, M. Enhancing multi-mode transport emission inventories: Combining open-source data with traditional approaches. Urban Clim. 2024b, 57, 102097. [Google Scholar] [CrossRef]
- Manisalidis; Stavropoulou, E.; Stavropoulos, A.; Bezirtzoglou, E. Environmental and health impacts of air pollution: A review. Front. Public Health 2020, 8, 14. [Google Scholar] [CrossRef] [PubMed]
- Martins, Ana; Scotto, Manuel; Deus, Ricardo; Monteiro, Alexandra; Gouveia, So’nia. Asso-ciation between respiratory hospital admissions and air quality in portugal: A count time series approach. PLoS ONE 2021, 16(7), 1–24. [Google Scholar] [CrossRef] [PubMed]
- Meijering, E. A chronology of interpolation: From ancient astronomy to modern signal and image processing. Proc. IEEE 2002, 90, 319–342. [Google Scholar] [CrossRef]
- Monteiro; Fernandes, A.P.; Gama, C.; Borrego, C.; Tchepel, O. Assessing the min-eral dust from north africa over portugal region using bsc–dream8b model. Atmos. Pollut. Res. 2015, 6, 70–81. [Google Scholar] [CrossRef]
- Muoneke; Okere, K.I.; Alemayehu, F.K. Interplay between socio-economic chal-lenges, environmental sustainability and the moderating role of government effectiveness in the med-9 countries. Resour. Policy 2023, 85, 104017. [Google Scholar] [CrossRef]
- Murtagh, F.; Legendre, P. Ward’s hierarchical agglomerative clustering method: Which algorithms implement ward’s criterion? J. Classif. 2014, 31, 274–295. [Google Scholar] [CrossRef]
- Putrama, I.M.; Martinek, P. Heterogeneous data integration: Challenges and opportuni-ties. Data Brief. 2024, 56, 110853. [Google Scholar] [CrossRef] [PubMed]
- Reis, S.; Morris, G.; Fleming, L.E.; Beck, S.; Taylor, T. Integrating health and environmen-tal impact analysis. Public Health 2015, 129, 1383–1389. [Google Scholar] [CrossRef] [PubMed]
- Scikit-learn. Kmeans: K-means clustering, 2024a. Available online: https://scikit-learn.org/ (accessed on 15 July 2025).
- Scikit-learn. Minmaxscaler: Transform features by scaling each feature to a given range, 2024b. Available online: https://scikit-learn.org/stable/modules/generated/sklearn.preprocessing.MinMaxScaler.html. (accessed on 15 July 2025).
- Scikit-learn. Silhouette score: Compute the mean silhouette coefficient of all sam-ples, 2024c. Available online: https://scikit-learn.org/stable/modules/generated/sklearn. (accessed on 15 July 2025).
- Scikit-learn. Standardscaler: Standardize features by removing the mean and scaling to unit variance, 2024d. Available online: https://scikit-learn.org/stable/modules/generated/ (accessed on 15 July 2025).
- SciPy. Interpolation (scipy.interpolate), 2024a. Available online: https://docs.scipy.org/doc/ (accessed on 15 July 2025).
- SciPy. Ward clustering method (scipy.cluster.hierarchy.ward), 2024b. Available online: https://docs. (accessed on 15 July 2025).
- Seinfeld, J.H.; Pandis, S.N. Atmospheric Chemistry and Physics: From Air Pollution to Climate Change, 3rd edition; Wiley-Interscience, 2016. [Google Scholar]
- Silveira, C.; Ferreira, J.; Miranda, A.I. Health impact pathways related to air quality changes: Testing two health risk methodologies over a local traffic case study. Air Qual. Atmos. Health 2024, 17, 1077–1089. [Google Scholar] [CrossRef]
- Umargono, E.; Suseno, J.E.; Gunawan, V. K-means clustering optimization using the elbow method and early centroid determination based on mean and median for-mula. In Proceedings of the 2019 International Seminar on Application for Technol-ogy of Information and Communication (iSemantic 2019); Atlantis Press, 2020. [Google Scholar] [CrossRef]
- Viegi, G.; Baldacci, S.; Maio, S.; Fasola, S.; Annesi-Maesano, I.; Pistelli, F.; Carrozzi, L. [CrossRef] [PubMed]
- La Grutta, S.; Forastiere, F. Health effects of air pollution: A southern euro-pean perspective. Chin. Med. J. 2020, 133, 1568–1574. [Google Scholar] [CrossRef] [PubMed]
- Wang, F.; Franco-Penya, H.H.; Kelleher, J.D.; Pugh, J.; Ross, R. An analysis of the application of simplified silhouette to the evaluation of k-means clustering validity. In Lecture Notes in Computer Science 10358 LNAI; 2017; pp. pages 291–305. [Google Scholar] [CrossRef]
Figure 1.
Yearly average O3 concentrations (µg m−3) in various countries of Europe in the year 2013.
Figure 1.
Yearly average O3 concentrations (µg m−3) in various countries of Europe in the year 2013.

Figure 2.
Average GDP per capita in various countries of Europe in the year 2013.

Figure 3.
Resulting clusters using the K-means algorithm for k = 4 across a variety of input parameters. Each plot index has a correspondence with the runs in Table 2.
Figure 3.
Resulting clusters using the K-means algorithm for k = 4 across a variety of input parameters. Each plot index has a correspondence with the runs in Table 2.

Figure 4.
Contingency matrices labeled according to Table 3, where i and j are the indices of the respective runs being compared according to Table 2.

Figure 5.
Hierarchical clustering of 26 European countries (Ward’s method after Z-score normalization and cubic spline interpolation).
Figure 5.
Hierarchical clustering of 26 European countries (Ward’s method after Z-score normalization and cubic spline interpolation).

Figure 6.
Map showing K-means clustering of 26 European countries after Z-score normal-ization and cubic spline interpolation for 2013-2021.
Figure 6.
Map showing K-means clustering of 26 European countries after Z-score normal-ization and cubic spline interpolation for 2013-2021.

Figure 7.
Heatmap showing the evolution of variable centroids from 2013 to 2021 across the four clusters identified among 26 European countries. Intense red represents high values, intense blue represents low values and everything in between is represented by lighter tones of these colors.
Figure 7.
Heatmap showing the evolution of variable centroids from 2013 to 2021 across the four clusters identified among 26 European countries. Intense red represents high values, intense blue represents low values and everything in between is represented by lighter tones of these colors.

Table 1.
Description of Variables Used in the Analysis.
![]() |
![]() |
Table 2.
Runs description.
| Run | Normalization | Interpolation | Variables |
| 1) | Z-score | Cubic spline | all 13 |
| 2) | Z-score | Cubic polynomial | all 13 |
| 3) | Z-score | Linear | all 13 |
| 4) | Z-score | Cubic spline | 3 pollutants |
| 5) | Z-score | Cubic spline | 10 socio-economic |
| 6) | Z-score | None | all 13 |
| 7) | Min-Max | Cubic spline | all 13 |
| 8) | Min-Max | Cubic polynomial | all 13 |
| 9) | Min-Max | Linear | all 13 |
| 10) | Min-Max | Cubic spline | 3 pollutants |
| 11) | Min-Max | Cubic spline | 10 socio-economic |
| 12) | Min-Max | None | all 13 |
Table 3.
Rand and Adjusted Rand Index.
| Comparison | Runs | Rand | Adjusted Rand |
| a) | 1 vs 2 | 1.000 | 1.000 |
| b) | 1 vs 3 | 1.000 | 1.000 |
| c) | 1 vs 4 | 0.6492 | 0.1446 |
| d) | 1 vs 5 | 0.9200 | 0.7976 |
| e) | 4 vs 5 | 0.6062 | 0.0606 |
| f) | 7 vs 8 | 1.0000 | 1.0000 |
| g) | 7 vs 9 | 1.0000 | 1.0000 |
| h) | 7 vs 10 | 0.6492 | 0.1398 |
| i) | 7 vs 11 | 0.9354 | 0.8335 |
| j) | 10 vs 11 | 0.6215 | 0.0898 |
| k) | 1 vs 7 | 0.9754 | 0.9353 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.

