diff --git a/apps/client/src/app/pages/tools/analysis/analysis-page.module.ts b/apps/client/src/app/pages/tools/analysis/analysis-page.module.ts
index c3081dc9e..3c714a320 100644
--- a/apps/client/src/app/pages/tools/analysis/analysis-page.module.ts
+++ b/apps/client/src/app/pages/tools/analysis/analysis-page.module.ts
@@ -6,6 +6,7 @@ import { PortfolioPositionsChartModule } from '@ghostfolio/client/components/por
import { PortfolioProportionChartModule } from '@ghostfolio/client/components/portfolio-proportion-chart/portfolio-proportion-chart.module';
import { GfPositionsTableModule } from '@ghostfolio/client/components/positions-table/positions-table.module';
import { GfToggleModule } from '@ghostfolio/client/components/toggle/toggle.module';
+import { GfWorldMapChartModule } from '@ghostfolio/client/components/world-map-chart/world-map-chart.module';
import { AnalysisPageRoutingModule } from './analysis-page-routing.module';
import { AnalysisPageComponent } from './analysis-page.component';
@@ -19,6 +20,7 @@ import { AnalysisPageComponent } from './analysis-page.component';
GfInvestmentChartModule,
GfPositionsTableModule,
GfToggleModule,
+ GfWorldMapChartModule,
MatCardModule,
PortfolioPositionsChartModule,
PortfolioProportionChartModule
diff --git a/apps/client/src/app/pages/tools/analysis/analysis-page.scss b/apps/client/src/app/pages/tools/analysis/analysis-page.scss
index 5e986a89a..db8237522 100644
--- a/apps/client/src/app/pages/tools/analysis/analysis-page.scss
+++ b/apps/client/src/app/pages/tools/analysis/analysis-page.scss
@@ -7,6 +7,14 @@
}
}
+ .world-map-chart {
+ .mat-card {
+ .mat-card-content {
+ aspect-ratio: 16 / 9;
+ }
+ }
+ }
+
.mat-card {
.mat-card-header {
::ng-deep {
diff --git a/apps/client/src/styles.scss b/apps/client/src/styles.scss
index fbb597475..52c9d1f22 100644
--- a/apps/client/src/styles.scss
+++ b/apps/client/src/styles.scss
@@ -4,6 +4,8 @@
@import '~angular-material-css-vars/main';
+@import '~svgmap/dist/svgMap';
+
$mat-css-dark-theme-selector: '.is-dark-theme';
$mat-css-light-theme-selector: '.is-light-theme';
diff --git a/package.json b/package.json
index de9bd674e..46bb6ec3c 100644
--- a/package.json
+++ b/package.json
@@ -97,6 +97,7 @@
"reflect-metadata": "0.1.13",
"round-to": "5.0.0",
"rxjs": "6.6.7",
+ "svgmap": "2.1.1",
"uuid": "8.3.2",
"yahoo-finance": "0.3.6",
"zone.js": "0.11.4"
diff --git a/yarn.lock b/yarn.lock
index 99efb34ef..42a354e51 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -12382,6 +12382,18 @@ supports-hyperlinks@^2.0.0:
has-flag "^4.0.0"
supports-color "^7.0.0"
+svg-pan-zoom@^3.6.1:
+ version "3.6.1"
+ resolved "https://registry.yarnpkg.com/svg-pan-zoom/-/svg-pan-zoom-3.6.1.tgz#f880a1bb32d18e9c625d7715350bebc269b450cf"
+ integrity sha512-JaKkGHHfGvRrcMPdJWkssLBeWqM+Isg/a09H7kgNNajT1cX5AztDTNs+C8UzpCxjCTRrG34WbquwaovZbmSk9g==
+
+svgmap@2.1.1:
+ version "2.1.1"
+ resolved "https://registry.yarnpkg.com/svgmap/-/svgmap-2.1.1.tgz#355c259cf4e04b20d2d39bab05d0e718ade942ff"
+ integrity sha512-1blZYMYDXq8H3xykzgBJRh5q+XPd5JLOJ8K7UuZI6ab2D3hngiVcr+Z1olfy7DH9Xf9AOCTpt4Id7iVD8cKD0A==
+ dependencies:
+ svg-pan-zoom "^3.6.1"
+
svgo@^1.0.0:
version "1.3.2"
resolved "https://registry.yarnpkg.com/svgo/-/svgo-1.3.2.tgz#b6dc511c063346c9e415b81e43401145b96d4167"