diff --git a/x-pack/plugins/apm/public/components/shared/charts/TransactionCharts/ChoroplethMap/ChoroplethToolTip.tsx b/x-pack/plugins/apm/public/components/shared/charts/TransactionCharts/ChoroplethMap/ChoroplethToolTip.tsx
deleted file mode 100644
index 69d4e8109dfbf..0000000000000
--- a/x-pack/plugins/apm/public/components/shared/charts/TransactionCharts/ChoroplethMap/ChoroplethToolTip.tsx
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the Elastic License;
- * you may not use this file except in compliance with the Elastic License.
- */
-
-import React from 'react';
-import { i18n } from '@kbn/i18n';
-import { asDuration, asInteger } from '../../../../../utils/formatters';
-import { fontSizes } from '../../../../../style/variables';
-
-export function ChoroplethToolTip({
- name,
- value,
- docCount,
-}: {
- name: string;
- value: number;
- docCount: number;
-}) {
- return (
-
-
{name}
-
- {i18n.translate(
- 'xpack.apm.metrics.durationByCountryMap.RegionMapChart.ToolTip.avgPageLoadDuration',
- {
- defaultMessage: 'Avg. page load duration:',
- }
- )}
-
-
- {asDuration(value)}
-
-
- (
- {i18n.translate(
- 'xpack.apm.metrics.durationByCountryMap.RegionMapChart.ToolTip.countPageLoads',
- {
- values: { docCount: asInteger(docCount) },
- defaultMessage: '{docCount} page loads',
- }
- )}
- )
-
-
- );
-}
diff --git a/x-pack/plugins/apm/public/components/shared/charts/TransactionCharts/ChoroplethMap/index.tsx b/x-pack/plugins/apm/public/components/shared/charts/TransactionCharts/ChoroplethMap/index.tsx
deleted file mode 100644
index 965cb2ae4f50a..0000000000000
--- a/x-pack/plugins/apm/public/components/shared/charts/TransactionCharts/ChoroplethMap/index.tsx
+++ /dev/null
@@ -1,270 +0,0 @@
-/*
- * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the Elastic License;
- * you may not use this file except in compliance with the Elastic License.
- */
-
-import React, {
- useState,
- useEffect,
- useRef,
- useCallback,
- useMemo,
-} from 'react';
-import { Map, NavigationControl, Popup } from 'mapbox-gl';
-import 'mapbox-gl/dist/mapbox-gl.css';
-import { shade, tint } from 'polished';
-import { EuiTheme } from '../../../../../../../observability/public';
-import { useTheme } from '../../../../../hooks/useTheme';
-import { ChoroplethToolTip } from './ChoroplethToolTip';
-
-interface ChoroplethItem {
- key: string;
- value: number;
- docCount: number;
-}
-
-interface Tooltip {
- name: string;
- value: number;
- docCount: number;
-}
-
-interface WorldCountryFeatureProperties {
- name: string;
- iso2: string;
- iso3: string;
-}
-
-interface Props {
- items: ChoroplethItem[];
-}
-
-const CHOROPLETH_LAYER_ID = 'choropleth_layer';
-const CHOROPLETH_POLYGONS_SOURCE_ID = 'choropleth_polygons';
-const GEOJSON_KEY_PROPERTY = 'iso2';
-const MAPBOX_STYLE =
- 'https://tiles.maps.elastic.co/styles/osm-bright-desaturated/style.json';
-const GEOJSON_SOURCE =
- 'https://vector.maps.elastic.co/files/world_countries_v1.geo.json?elastic_tile_service_tos=agree&my_app_name=ems-landing&my_app_version=7.2.0';
-
-export function getProgressionColor(scale: number, theme: EuiTheme) {
- const baseColor = theme.eui.euiColorPrimary;
- const adjustedScale = 0.75 * scale + 0.05; // prevents pure black & white as min/max colors.
- if (adjustedScale < 0.5) {
- return tint(adjustedScale * 2, baseColor);
- }
- if (adjustedScale > 0.5) {
- return shade(1 - (adjustedScale - 0.5) * 2, baseColor);
- }
- return baseColor;
-}
-
-const getMin = (items: ChoroplethItem[]) =>
- Math.min(...items.map((item) => item.value));
-
-const getMax = (items: ChoroplethItem[]) =>
- Math.max(...items.map((item) => item.value));
-
-export function ChoroplethMap(props: Props) {
- const theme = useTheme();
- const { items } = props;
- const containerRef = useRef(null);
- const [map, setMap] = useState