Map drill-down
This tutorial will look at the ways drill-down/up navigation can be implemented in a map chart.
Workflow
Section titled “Workflow”Typically, a drill-down in a map chart is set up using these steps:
- Catch click/tap event on a country/area.
- Zoom in to the target area.
- Hide or fade out source map polygon series.
- Show or fade in target polygon series. If needed also change geodata for the target polygon series.
The following sections will examine those steps one-by-one.
Static geodata
Section titled “Static geodata”For the purpose of this tutorial let’s examine a scenario where Continent map drills-down into World map.
Creating series
Section titled “Creating series”This scenario will use two levels of drill down: Continents and World (countries).
We will pre-create a map polygon series for each of those:
let continentSeries = chart.series.push(am5map.MapPolygonSeries.new(root, { geoJSON: am5geodata_continentsLow, exclude: ["antarctica"]}));
let countrySeries = chart.series.push(am5map.MapPolygonSeries.new(root, { geoJSON: am5geodata_worldLow, exclude: ["AQ"], visible: false}));var continentSeries = chart.series.push(am5map.MapPolygonSeries.new(root, { geoJSON: am5geodata_continentsLow, exclude: ["antarctica"]}));
var countrySeries = chart.series.push(am5map.MapPolygonSeries.new(root, { geoJSON: am5geodata_worldLow, exclude: ["AQ"], visible: false}));When drilling down we will hide continentSeries and reveal countrySeries, and vice versa when drilling up.
Capturing clicks
Section titled “Capturing clicks”To capture a click (or tap) on a map polygon, we can use click event, set on polygon template:
continentSeries.mapPolygons.template.events.on("click", function (ev) {
// Clicked on a continent // ev.dataItem will container clicked polygon's data item});continentSeries.mapPolygons.template.events.on("click", function (ev) { // Clicked on a continent // ev.dataItem will container clicked polygon's data item});Now, our custom function will kick in every time we click on any continent.
We just need to fill in the code to:
- Zoom in on a clicked continent.
- Fade out continent series.
- Fade in country series.
continentSeries.mapPolygons.template.events.on("click", function (ev) { continentSeries.zoomToDataItem(ev.target.dataItem); continentSeries.hide(); countrySeries.show();});continentSeries.mapPolygons.template.events.on("click", function (ev) { continentSeries.zoomToDataItem(ev.target.dataItem); continentSeries.hide(); countrySeries.show();});Drill-up
Section titled “Drill-up”For going back to continent view, let’s create a simple button which would be hidden by default, but would be revealed when drill-down happens:
let homeButton = chart.children.push(am5.Button.new(root, { paddingTop: 10, paddingBottom: 10, x: am5.percent(100), centerX: am5.percent(100), opacity: 0, interactiveChildren: false, icon: am5.Graphics.new(root, { svgPath: "M16,8 L14,8 L14,16 L10,16 L10,10 L6,10 L6,16 L2,16 L2,8 L0,8 L8,0 L16,8 Z M16,8", fill: am5.color(0xffffff) })}));
homeButton.events.on("click", function() { chart.goHome(); continentSeries.show(); countrySeries.hide(); homeButton.hide();});var homeButton = chart.children.push(am5.Button.new(root, { paddingTop: 10, paddingBottom: 10, x: am5.percent(100), centerX: am5.percent(100), opacity: 0, interactiveChildren: false, icon: am5.Graphics.new(root, { svgPath: "M16,8 L14,8 L14,16 L10,16 L10,10 L6,10 L6,16 L2,16 L2,8 L0,8 L8,0 L16,8 Z M16,8", fill: am5.color(0xffffff) })}));
homeButton.events.on("click", function() { chart.goHome(); continentSeries.show(); countrySeries.hide(); homeButton.hide();});In the above code, we add click event to the button which:
- Uses map chart’s
goHome()method to zoom the map fully back out. - Hides country series and reveals continent series.
- Hides itself because we don’t need it on top level of the drill-down map.
Full example
Section titled “Full example”/** * --------------------------------------- * This demo was created using amCharts 5. * * For more information visit: * https://www.amcharts.com/ * * Documentation is available at: * https://www.amcharts.com/docs/v5/ * --------------------------------------- */
// Create root element// https://www.amcharts.com/docs/v5/getting-started/#Root_elementvar root = am5.Root.new("chartdiv");
// Set themes// https://www.amcharts.com/docs/v5/concepts/themes/root.setThemes([am5themes_Animated.new(root)]);
// Create the map chart// https://www.amcharts.com/docs/v5/charts/map-chart/var chart = root.container.children.push( am5map.MapChart.new(root, { panX: "rotateX", projection: am5map.geoNaturalEarth1() }));
// Create polygon series for continents// https://www.amcharts.com/docs/v5/charts/map-chart/map-polygon-series/var continentSeries = chart.series.push( am5map.MapPolygonSeries.new(root, { geoJSON: am5geodata_continentsLow, exclude: ["antarctica"] }));
continentSeries.mapPolygons.template.setAll({ tooltipText: "{name}", interactive: true});
continentSeries.mapPolygons.template.states.create("hover", { fill: root.interfaceColors.get("primaryButtonActive")});
// Set up zooming in on clicked continentcontinentSeries.mapPolygons.template.events.on("click", function (ev) { continentSeries.zoomToDataItem(ev.target.dataItem); continentSeries.hide(); countrySeries.show(); homeButton.show();});
// Create polygon series for countries// https://www.amcharts.com/docs/v5/charts/map-chart/map-polygon-series/var countrySeries = chart.series.push( am5map.MapPolygonSeries.new(root, { geoJSON: am5geodata_worldLow, exclude: ["AQ"], visible: false }));
countrySeries.mapPolygons.template.setAll({ tooltipText: "{name}", interactive: true});
countrySeries.mapPolygons.template.states.create("hover", { fill: root.interfaceColors.get("primaryButtonActive")});
// Add a button to go back to continents viewvar homeButton = chart.children.push( am5.Button.new(root, { paddingTop: 10, paddingBottom: 10, x: am5.percent(100), centerX: am5.percent(100), opacity: 0, interactiveChildren: false, icon: am5.Graphics.new(root, { svgPath: "M16,8 L14,8 L14,16 L10,16 L10,10 L6,10 L6,16 L2,16 L2,8 L0,8 L8,0 L16,8 Z M16,8", fill: am5.color(0xffffff) }) }));
homeButton.events.on("click", function () { chart.goHome(); continentSeries.show(); countrySeries.hide(); homeButton.hide();});<div id="chartdiv"></div>body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";}
#chartdiv { width: 100%; height: 95vh;}{ "type": "MapChart", "settings": { "panX": "rotateX", "projectionName": "geoNaturalEarth1" }, "properties": { "series": [ "#series-0", "#series-1" ] }, "children": [ { "type": "Button", "settings": { "paddingTop": 10, "paddingBottom": 10, "x": { "type": "Percent", "value": 100 }, "centerX": { "type": "Percent", "value": 100 }, "opacity": 0, "interactiveChildren": false, "icon": { "type": "Graphics", "settings": { "svgPath": "M16,8 L14,8 L14,16 L10,16 L10,10 L6,10 L6,16 L2,16 L2,8 L0,8 L8,0 L16,8 Z M16,8", "fill": { "type": "Color", "value": "#ffffff" } } } } } ], "refs": [ { "data-0": [] }, { "data-1": [] }, { "series-0": { "type": "MapPolygonSeries", "settings": { "geoJSON": "am5geodata_continentsLow", "exclude": [ "antarctica" ] }, "properties": { "mapPolygons": { "properties": { "template": { "settings": { "tooltipText": "{name}", "interactive": true }, "states": [ { "key": "hover", "settings": { "fill": "@root.interfaceColors.get('primaryButtonActive')" } } ] } } } } } }, { "series-1": { "type": "MapPolygonSeries", "settings": { "geoJSON": "am5geodata_worldLow", "exclude": [ "AQ" ], "visible": false }, "properties": { "mapPolygons": { "properties": { "template": { "settings": { "tooltipText": "{name}", "interactive": true }, "states": [ { "key": "hover", "settings": { "fill": "@root.interfaceColors.get('primaryButtonActive')" } } ] } } } } } } ]}drill-down-mapDynamic geodata
Section titled “Dynamic geodata”In previous section we were just switching back and forth between two fully set up polygon series.
In the following chapters we’ll take a look how we can reuse polygon series for displaying dynamically loaded geodata, by building a World map that drill-down into individual country maps.
Here instead of pre-filling target series’ geoJSON setting with a pre-loaded map, we will determine clicked country and load geodata dynamically.
Furthermore, we will use Promise object to sync zoom-in animations and loading of external geodata.
worldSeries.mapPolygons.template.events.on("click", function (ev) { let country = ev.target.dataItem.get("id"); let map; switch(country) { case "US": map = "usaLow.json"; break; case "CA": map = "canadaLow.json"; break; case "MX": map = "mexicoLow.json"; break; }
if (map) { Promise.all([ // Initiate zoom to country animation worldSeries.zoomToDataItem(ev.target.dataItem).waitForStop(),
// Start loading target geodata am5.net.load("https://cdn.amcharts.com/lib/5/geodata/json/" + map, chart) ]).then(function(result) { // Both zoom and geodata loading is complete let geodata = am5.JSONParser.parse(result[1].response); countrySeries.setAll({ geoJSON: geodata }); countrySeries.show(); worldSeries.hide(); homeButton.show(); }); }});worldSeries.mapPolygons.template.events.on("click", function (ev) { var country = ev.target.dataItem.get("id"); var map; switch(country) { case "US": map = "usaLow.json"; break; case "CA": map = "canadaLow.json"; break; case "MX": map = "mexicoLow.json"; break; }
if (map) { Promise.all([ // Initiate zoom to country animation worldSeries.zoomToDataItem(ev.target.dataItem).waitForStop(),
// Start loading target geodata am5.net.load("https://cdn.amcharts.com/lib/5/geodata/json/" + map, chart) ]).then(function(result) { // Both zoom and geodata loading is complete var geodata = am5.JSONParser.parse(result[1].response); countrySeries.setAll({ geoJSON: geodata }); countrySeries.show(); worldSeries.hide(); homeButton.show(); }); }});Let’s examine the code above.
First we determine ID of a clicked country, by accessing id setting of its data item.
Then we determine which map is appropriate for the clicked country.
We also use built-in data loader and JSON parser to load GeoJSON data as well as set it on the country series.
Finally, to avoid visual glitches, we don’t want country series geodata to be set before it finishes loading, or before zoom animation is played out, so we employ Promise mechanism to sync up zoom and loading.
Series’ zoomToDataItem() method will return Animation object, which in turn has a method waitForStop() that returns a promise that kicks in when animation finishes playing.
Similarly, net.load() utility also returns a promise.
We sync up both using Promise.all() method.
/** * --------------------------------------- * This demo was created using amCharts 5. * * For more information visit: * https://www.amcharts.com/ * * Documentation is available at: * https://www.amcharts.com/docs/v5/ * --------------------------------------- */
// Create root element// https://www.amcharts.com/docs/v5/getting-started/#Root_elementvar root = am5.Root.new("chartdiv");
// Set themes// https://www.amcharts.com/docs/v5/concepts/themes/root.setThemes([am5themes_Animated.new(root)]);
// Create the map chart// https://www.amcharts.com/docs/v5/charts/map-chart/var chart = root.container.children.push( am5map.MapChart.new(root, { panX: "rotateX" }));
// Create polygon series for world// https://www.amcharts.com/docs/v5/charts/map-chart/map-polygon-series/var worldSeries = chart.series.push( am5map.MapPolygonSeries.new(root, { geoJSON: am5geodata_worldLow, exclude: ["AQ"] }));
worldSeries.mapPolygons.template.setAll({ tooltipText: "{name}", interactive: true});
worldSeries.mapPolygons.template.setAll({ fill: root.interfaceColors.get("secondaryButton"), templateField: "columnSettings"});
// Set up zooming in on clicked continentworldSeries.mapPolygons.template.events.on("click", function (ev) { var country = ev.target.dataItem.get("id"); var map; switch (country) { case "US": map = "usaLow.json"; break; case "CA": map = "canadaLow.json"; break; case "MX": map = "mexicoLow.json"; break; }
worldSeries.zoomToDataItem(ev.target.dataItem); homeButton.show();
if (map) { am5.net .load("https://cdn.amcharts.com/lib/5/geodata/json/" + map, chart) .then(function (result) { var geodata = am5.JSONParser.parse(result.response); countrySeries.setAll({ geoJSON: geodata });
countrySeries.show(); worldSeries.hide(); }); }});
worldSeries.data.setAll([ { id: "US", columnSettings: { fill: root.interfaceColors.get("primaryButton") } }, { id: "CA", columnSettings: { fill: root.interfaceColors.get("primaryButton") } }, { id: "MX", columnSettings: { fill: root.interfaceColors.get("primaryButton") } }]);
// Create polygon series for countries// https://www.amcharts.com/docs/v5/charts/map-chart/map-polygon-series/var countrySeries = chart.series.push( am5map.MapPolygonSeries.new(root, { visible: false }));
countrySeries.mapPolygons.template.setAll({ tooltipText: "{name}", interactive: true});
countrySeries.mapPolygons.template.states.create("hover", { fill: root.interfaceColors.get("primaryButtonActive")});
// Add a button to go back to continents viewvar homeButton = chart.children.push( am5.Button.new(root, { paddingTop: 10, paddingBottom: 10, x: am5.percent(100), centerX: am5.percent(100), opacity: 0, interactiveChildren: false, icon: am5.Graphics.new(root, { svgPath: "M16,8 L14,8 L14,16 L10,16 L10,10 L6,10 L6,16 L2,16 L2,8 L0,8 L8,0 L16,8 Z M16,8", fill: am5.color(0xffffff) }) }));
homeButton.events.on("click", function () { chart.goHome(); worldSeries.show(); countrySeries.hide(); homeButton.hide();});<div id="chartdiv"></div>body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";}
#chartdiv { width: 100%; height: 95vh;}{ "type": "MapChart", "settings": { "panX": "rotateX" }, "properties": { "series": [ "#series-0", "#series-1" ] }, "children": [ { "type": "Button", "settings": { "paddingTop": 10, "paddingBottom": 10, "x": { "type": "Percent", "value": 100 }, "centerX": { "type": "Percent", "value": 100 }, "opacity": 0, "interactiveChildren": false, "icon": { "type": "Graphics", "settings": { "svgPath": "M16,8 L14,8 L14,16 L10,16 L10,10 L6,10 L6,16 L2,16 L2,8 L0,8 L8,0 L16,8 Z M16,8", "fill": { "type": "Color", "value": "#ffffff" } } } } } ], "refs": [ { "data-0": [ { "id": "US", "columnSettings": { "fill": { "type": "Color", "value": "#6794dc" }, "__parse": true }, "__parse": true }, { "id": "CA", "columnSettings": { "fill": { "type": "Color", "value": "#6794dc" }, "__parse": true }, "__parse": true }, { "id": "MX", "columnSettings": { "fill": { "type": "Color", "value": "#6794dc" }, "__parse": true }, "__parse": true } ] }, { "data-1": [] }, { "series-0": { "type": "MapPolygonSeries", "settings": { "geoJSON": "am5geodata_worldLow", "exclude": [ "AQ" ] }, "properties": { "data": "#data-0", "mapPolygons": { "properties": { "template": { "settings": { "tooltipText": "{name}", "interactive": true, "fill": "@root.interfaceColors.get('secondaryButton')", "templateField": "columnSettings" } } } } } } }, { "series-1": { "type": "MapPolygonSeries", "settings": { "visible": false }, "properties": { "mapPolygons": { "properties": { "template": { "settings": { "tooltipText": "{name}", "interactive": true }, "states": [ { "key": "hover", "settings": { "fill": "@root.interfaceColors.get('primaryButtonActive')" } } ] } } } } } } ]}dynamic-drill-down-mapExamples
Section titled “Examples”Here’s another example which uses bundled country data to bind each country with appropriate map.
/** * --------------------------------------- * This demo was created using amCharts 5. * * For more information visit: * https://www.amcharts.com/ * * Documentation is available at: * https://www.amcharts.com/docs/v5/ * --------------------------------------- */
var continents = { AF: 0, AN: 1, AS: 2, EU: 3, NA: 4, OC: 5, SA: 6};
// Create root element// https://www.amcharts.com/docs/v5/getting-started/#Root_elementvar root = am5.Root.new("chartdiv");var colors = am5.ColorSet.new(root, {});
// Set themes// https://www.amcharts.com/docs/v5/concepts/themes/root.setThemes([am5themes_Animated.new(root)]);
// Create the map chart// https://www.amcharts.com/docs/v5/charts/map-chart/var chart = root.container.children.push( am5map.MapChart.new(root, { panX: "rotateX", projection: am5map.geoMercator() }));
// Create polygon series for the world map// https://www.amcharts.com/docs/v5/charts/map-chart/map-polygon-series/var worldSeries = chart.series.push( am5map.MapPolygonSeries.new(root, { geoJSON: am5geodata_worldLow, exclude: ["AQ"] }));
worldSeries.mapPolygons.template.setAll({ tooltipText: "{name}", interactive: true, fill: am5.color(0xaaaaaa), templateField: "polygonSettings"});
worldSeries.mapPolygons.template.states.create("hover", { fill: colors.getIndex(9)});
worldSeries.mapPolygons.template.events.on("click", (ev) => { var dataItem = ev.target.dataItem; var data = dataItem.dataContext; var zoomAnimation = worldSeries.zoomToDataItem(dataItem);
Promise.all([ zoomAnimation.waitForStop(), am5.net.load("https://cdn.amcharts.com/lib/5/geodata/json/" + data.map + ".json", chart) ]).then((results) => { var geodata = am5.JSONParser.parse(results[1].response); countrySeries.setAll({ geoJSON: geodata, fill: data.polygonSettings.fill });
countrySeries.show(); worldSeries.hide(100); backContainer.show(); });});
// Create polygon series for the country map// https://www.amcharts.com/docs/v5/charts/map-chart/map-polygon-series/var countrySeries = chart.series.push( am5map.MapPolygonSeries.new(root, { visible: false }));
countrySeries.mapPolygons.template.setAll({ tooltipText: "{name}", interactive: true, fill: am5.color(0xaaaaaa)});
countrySeries.mapPolygons.template.states.create("hover", { fill: colors.getIndex(9)});
// Set up data for countriesvar data = [];for (var id in am5geodata_data_countries2) { if (am5geodata_data_countries2.hasOwnProperty(id)) { var country = am5geodata_data_countries2[id]; if (country.maps.length) { data.push({ id: id, map: country.maps[0], polygonSettings: { fill: colors.getIndex(continents[country.continent_code]) } }); } }}worldSeries.data.setAll(data);
// Add button to go back to continents viewvar backContainer = chart.children.push( am5.Container.new(root, { x: am5.p100, centerX: am5.p100, dx: -10, paddingTop: 5, paddingRight: 10, paddingBottom: 5, y: 30, interactiveChildren: false, layout: root.horizontalLayout, cursorOverStyle: "pointer", background: am5.RoundedRectangle.new(root, { fill: am5.color(0xffffff), fillOpacity: 0.2 }),
visible: false }));
var backLabel = backContainer.children.push( am5.Label.new(root, { text: "Back to world map", centerY: am5.p50 }));
var backButton = backContainer.children.push( am5.Graphics.new(root, { width: 32, height: 32, centerY: am5.p50, fill: am5.color(0x555555), svgPath: "M16,1.466C7.973,1.466,1.466,7.973,1.466,16c0,8.027,6.507,14.534,14.534,14.534c8.027,0,14.534-6.507,14.534-14.534C30.534,7.973,24.027,1.466,16,1.466zM27.436,17.39c0.001,0.002,0.004,0.002,0.005,0.004c-0.022,0.187-0.054,0.37-0.085,0.554c-0.015-0.012-0.034-0.025-0.047-0.036c-0.103-0.09-0.254-0.128-0.318-0.115c-0.157,0.032,0.229,0.305,0.267,0.342c0.009,0.009,0.031,0.03,0.062,0.058c-1.029,5.312-5.709,9.338-11.319,9.338c-4.123,0-7.736-2.18-9.776-5.441c0.123-0.016,0.24-0.016,0.28-0.076c0.051-0.077,0.102-0.241,0.178-0.331c0.077-0.089,0.165-0.229,0.127-0.292c-0.039-0.064,0.101-0.344,0.088-0.419c-0.013-0.076-0.127-0.256,0.064-0.407s0.394-0.382,0.407-0.444c0.012-0.063,0.166-0.331,0.152-0.458c-0.012-0.127-0.152-0.28-0.24-0.318c-0.09-0.037-0.28-0.05-0.356-0.151c-0.077-0.103-0.292-0.203-0.368-0.178c-0.076,0.025-0.204,0.05-0.305-0.015c-0.102-0.062-0.267-0.139-0.33-0.189c-0.065-0.05-0.229-0.088-0.305-0.088c-0.077,0-0.065-0.052-0.178,0.101c-0.114,0.153,0,0.204-0.204,0.177c-0.204-0.023,0.025-0.036,0.141-0.189c0.113-0.152-0.013-0.242-0.141-0.203c-0.126,0.038-0.038,0.115-0.241,0.153c-0.203,0.036-0.203-0.09-0.076-0.115s0.355-0.139,0.355-0.19c0-0.051-0.025-0.191-0.127-0.191s-0.077-0.126-0.229-0.291c-0.092-0.101-0.196-0.164-0.299-0.204c-0.09-0.579-0.15-1.167-0.15-1.771c0-2.844,1.039-5.446,2.751-7.458c0.024-0.02,0.048-0.034,0.069-0.036c0.084-0.009,0.31-0.025,0.51-0.059c0.202-0.034,0.418-0.161,0.489-0.153c0.069,0.008,0.241,0.008,0.186-0.042C8.417,8.2,8.339,8.082,8.223,8.082S8.215,7.896,8.246,7.896c0.03,0,0.186,0.025,0.178,0.11C8.417,8.091,8.471,8.2,8.625,8.167c0.156-0.034,0.132-0.162,0.102-0.195C8.695,7.938,8.672,7.853,8.642,7.794c-0.031-0.06-0.023-0.136,0.14-0.153C8.944,7.625,9.168,7.708,9.16,7.573s0-0.28,0.046-0.356C9.253,7.142,9.354,7.09,9.299,7.065C9.246,7.04,9.176,7.099,9.121,6.972c-0.054-0.127,0.047-0.22,0.108-0.271c0.02-0.015,0.067-0.06,0.124-0.112C11.234,5.257,13.524,4.466,16,4.466c3.213,0,6.122,1.323,8.214,3.45c-0.008,0.022-0.01,0.052-0.031,0.056c-0.077,0.013-0.166,0.063-0.179-0.051c-0.013-0.114-0.013-0.331-0.102-0.203c-0.089,0.127-0.127,0.127-0.127,0.191c0,0.063,0.076,0.127,0.051,0.241C23.8,8.264,23.8,8.341,23.84,8.341c0.036,0,0.126-0.115,0.239-0.141c0.116-0.025,0.319-0.088,0.332,0.026c0.013,0.115,0.139,0.152,0.013,0.203c-0.128,0.051-0.267,0.026-0.293-0.051c-0.025-0.077-0.114-0.077-0.203-0.013c-0.088,0.063-0.279,0.292-0.279,0.292s-0.306,0.139-0.343,0.114c-0.04-0.025,0.101-0.165,0.203-0.228c0.102-0.064,0.178-0.204,0.14-0.242c-0.038-0.038-0.088-0.279-0.063-0.343c0.025-0.063,0.139-0.152,0.013-0.216c-0.127-0.063-0.217-0.14-0.318-0.178s-0.216,0.152-0.305,0.204c-0.089,0.051-0.076,0.114-0.191,0.127c-0.114,0.013-0.189,0.165,0,0.254c0.191,0.089,0.255,0.152,0.204,0.204c-0.051,0.051-0.267-0.025-0.267-0.025s-0.165-0.076-0.268-0.076c-0.101,0-0.229-0.063-0.33-0.076c-0.102-0.013-0.306-0.013-0.355,0.038c-0.051,0.051-0.179,0.203-0.28,0.152c-0.101-0.051-0.101-0.102-0.241-0.051c-0.14,0.051-0.279-0.038-0.355,0.038c-0.077,0.076-0.013,0.076-0.255,0c-0.241-0.076-0.189,0.051-0.419,0.089s-0.368-0.038-0.432,0.038c-0.064,0.077-0.153,0.217-0.19,0.127c-0.038-0.088,0.126-0.241,0.062-0.292c-0.062-0.051-0.33-0.025-0.367,0.013c-0.039,0.038-0.014,0.178,0.011,0.229c0.026,0.05,0.064,0.254-0.011,0.216c-0.077-0.038-0.064-0.166-0.141-0.152c-0.076,0.013-0.165,0.051-0.203,0.077c-0.038,0.025-0.191,0.025-0.229,0.076c-0.037,0.051,0.014,0.191-0.051,0.203c-0.063,0.013-0.114,0.064-0.254-0.025c-0.14-0.089-0.14-0.038-0.178-0.012c-0.038,0.025-0.216,0.127-0.229,0.012c-0.013-0.114,0.025-0.152-0.089-0.229c-0.115-0.076-0.026-0.076,0.127-0.025c0.152,0.05,0.343,0.075,0.622-0.013c0.28-0.089,0.395-0.127,0.28-0.178c-0.115-0.05-0.229-0.101-0.406-0.127c-0.179-0.025-0.42-0.025-0.7-0.127c-0.279-0.102-0.343-0.14-0.457-0.165c-0.115-0.026-0.813-0.14-1.132-0.089c-0.317,0.051-1.193,0.28-1.245,0.318s-0.128,0.19-0.292,0.318c-0.165,0.127-0.47,0.419-0.712,0.47c-0.241,0.051-0.521,0.254-0.521,0.305c0,0.051,0.101,0.242,0.076,0.28c-0.025,0.038,0.05,0.229,0.191,0.28c0.139,0.05,0.381,0.038,0.393-0.039c0.014-0.076,0.204-0.241,0.217-0.127c0.013,0.115,0.14,0.292,0.114,0.368c-0.025,0.077,0,0.153,0.09,0.14c0.088-0.012,0.559-0.114,0.559-0.114s0.153-0.064,0.127-0.166c-0.026-0.101,0.166-0.241,0.203-0.279c0.038-0.038,0.178-0.191,0.014-0.241c-0.167-0.051-0.293-0.064-0.115-0.216s0.292,0,0.521-0.229c0.229-0.229-0.051-0.292,0.191-0.305c0.241-0.013,0.496-0.025,0.444,0.051c-0.05,0.076-0.342,0.242-0.508,0.318c-0.166,0.077-0.14,0.216-0.076,0.292c0.063,0.076,0.09,0.254,0.204,0.229c0.113-0.025,0.254-0.114,0.38-0.101c0.128,0.012,0.383-0.013,0.42-0.013c0.039,0,0.216,0.178,0.114,0.203c-0.101,0.025-0.229,0.013-0.445,0.025c-0.215,0.013-0.456,0.013-0.456,0.051c0,0.039,0.292,0.127,0.19,0.191c-0.102,0.063-0.203-0.013-0.331-0.026c-0.127-0.012-0.203,0.166-0.241,0.267c-0.039,0.102,0.063,0.28-0.127,0.216c-0.191-0.063-0.331-0.063-0.381-0.038c-0.051,0.025-0.203,0.076-0.331,0.114c-0.126,0.038-0.076-0.063-0.242-0.063c-0.164,0-0.164,0-0.164,0l-0.103,0.013c0,0-0.101-0.063-0.114-0.165c-0.013-0.102,0.05-0.216-0.013-0.241c-0.064-0.026-0.292,0.012-0.33,0.088c-0.038,0.076-0.077,0.216-0.026,0.28c0.052,0.063,0.204,0.19,0.064,0.152c-0.14-0.038-0.317-0.051-0.419,0.026c-0.101,0.076-0.279,0.241-0.279,0.241s-0.318,0.025-0.318,0.102c0,0.077,0,0.178-0.114,0.191c-0.115,0.013-0.268,0.05-0.42,0.076c-0.153,0.025-0.139,0.088-0.317,0.102s-0.204,0.089-0.038,0.114c0.165,0.025,0.418,0.127,0.431,0.241c0.014,0.114-0.013,0.242-0.076,0.356c-0.043,0.079-0.305,0.026-0.458,0.026c-0.152,0-0.456-0.051-0.584,0c-0.127,0.051-0.102,0.305-0.064,0.419c0.039,0.114-0.012,0.178-0.063,0.216c-0.051,0.038-0.065,0.152,0,0.204c0.063,0.051,0.114,0.165,0.166,0.178c0.051,0.013,0.215-0.038,0.279,0.025c0.064,0.064,0.127,0.216,0.165,0.178c0.039-0.038,0.089-0.203,0.153-0.166c0.064,0.039,0.216-0.012,0.331-0.025s0.177-0.14,0.292-0.204c0.114-0.063,0.05-0.063,0.013-0.14c-0.038-0.076,0.114-0.165,0.204-0.254c0.088-0.089,0.253-0.013,0.292-0.115c0.038-0.102,0.051-0.279,0.151-0.267c0.103,0.013,0.243,0.076,0.331,0.076c0.089,0,0.279-0.14,0.332-0.165c0.05-0.025,0.241-0.013,0.267,0.102c0.025,0.114,0.241,0.254,0.292,0.279c0.051,0.025,0.381,0.127,0.433,0.165c0.05,0.038,0.126,0.153,0.152,0.254c0.025,0.102,0.114,0.102,0.128,0.013c0.012-0.089-0.065-0.254,0.025-0.242c0.088,0.013,0.191-0.026,0.191-0.026s-0.243-0.165-0.331-0.203c-0.088-0.038-0.255-0.114-0.331-0.241c-0.076-0.127-0.267-0.153-0.254-0.279c0.013-0.127,0.191-0.051,0.292,0.051c0.102,0.102,0.356,0.241,0.445,0.33c0.088,0.089,0.229,0.127,0.267,0.242c0.039,0.114,0.152,0.241,0.19,0.292c0.038,0.051,0.165,0.331,0.204,0.394c0.038,0.063,0.165-0.012,0.229-0.063c0.063-0.051,0.179-0.076,0.191-0.178c0.013-0.102-0.153-0.178-0.203-0.216c-0.051-0.038,0.127-0.076,0.191-0.127c0.063-0.05,0.177-0.14,0.228-0.063c0.051,0.077,0.026,0.381,0.051,0.432c0.025,0.051,0.279,0.127,0.331,0.191c0.05,0.063,0.267,0.089,0.304,0.051c0.039-0.038,0.242,0.026,0.294,0.038c0.049,0.013,0.202-0.025,0.304-0.05c0.103-0.025,0.204-0.102,0.191,0.063c-0.013,0.165-0.051,0.419-0.179,0.546c-0.127,0.127-0.076,0.191-0.202,0.191c-0.06,0-0.113,0-0.156,0.021c-0.041-0.065-0.098-0.117-0.175-0.097c-0.152,0.038-0.344,0.038-0.47,0.19c-0.128,0.153-0.178,0.165-0.204,0.114c-0.025-0.051,0.369-0.267,0.317-0.331c-0.05-0.063-0.355-0.038-0.521-0.038c-0.166,0-0.305-0.102-0.433-0.127c-0.126-0.025-0.292,0.127-0.418,0.254c-0.128,0.127-0.216,0.038-0.331,0.038c-0.115,0-0.331-0.165-0.331-0.165s-0.216-0.089-0.305-0.089c-0.088,0-0.267-0.165-0.318-0.165c-0.05,0-0.19-0.115-0.088-0.166c0.101-0.05,0.202,0.051,0.101-0.229c-0.101-0.279-0.33-0.216-0.419-0.178c-0.088,0.039-0.724,0.025-0.775,0.025c-0.051,0-0.419,0.127-0.533,0.178c-0.116,0.051-0.318,0.115-0.369,0.14c-0.051,0.025-0.318-0.051-0.433,0.013c-0.151,0.084-0.291,0.216-0.33,0.216c-0.038,0-0.153,0.089-0.229,0.28c-0.077,0.19,0.013,0.355-0.128,0.419c-0.139,0.063-0.394,0.204-0.495,0.305c-0.102,0.101-0.229,0.458-0.355,0.623c-0.127,0.165,0,0.317,0.025,0.419c0.025,0.101,0.114,0.292-0.025,0.471c-0.14,0.178-0.127,0.266-0.191,0.279c-0.063,0.013,0.063,0.063,0.088,0.19c0.025,0.128-0.114,0.255,0.128,0.369c0.241,0.113,0.355,0.217,0.418,0.367c0.064,0.153,0.382,0.407,0.382,0.407s0.229,0.205,0.344,0.293c0.114,0.089,0.152,0.038,0.177-0.05c0.025-0.09,0.178-0.104,0.355-0.104c0.178,0,0.305,0.04,0.483,0.014c0.178-0.025,0.356-0.141,0.42-0.166c0.063-0.025,0.279-0.164,0.443-0.063c0.166,0.103,0.141,0.241,0.23,0.332c0.088,0.088,0.24,0.037,0.355-0.051c0.114-0.09,0.064-0.052,0.203,0.025c0.14,0.075,0.204,0.151,0.077,0.267c-0.128,0.113-0.051,0.293-0.128,0.47c-0.076,0.178-0.063,0.203,0.077,0.278c0.14,0.076,0.394,0.548,0.47,0.638c0.077,0.088-0.025,0.342,0.064,0.495c0.089,0.151,0.178,0.254,0.077,0.331c-0.103,0.075-0.28,0.216-0.292,0.47s0.051,0.431,0.102,0.521s0.177,0.331,0.241,0.419c0.064,0.089,0.14,0.305,0.152,0.445c0.013,0.14-0.024,0.306,0.039,0.381c0.064,0.076,0.102,0.191,0.216,0.292c0.115,0.103,0.152,0.318,0.152,0.318s0.039,0.089,0.051,0.229c0.012,0.14,0.025,0.228,0.152,0.292c0.126,0.063,0.215,0.076,0.28,0.013c0.063-0.063,0.381-0.077,0.546-0.063c0.165,0.013,0.355-0.075,0.521-0.19s0.407-0.419,0.496-0.508c0.089-0.09,0.292-0.255,0.268-0.356c-0.025-0.101-0.077-0.203,0.024-0.254c0.102-0.052,0.344-0.152,0.356-0.229c0.013-0.077-0.09-0.395-0.115-0.457c-0.024-0.064,0.064-0.18,0.165-0.306c0.103-0.128,0.421-0.216,0.471-0.267c0.051-0.053,0.191-0.267,0.217-0.433c0.024-0.167-0.051-0.369,0-0.457c0.05-0.09,0.013-0.165-0.103-0.268c-0.114-0.102-0.089-0.407-0.127-0.457c-0.037-0.051-0.013-0.319,0.063-0.345c0.076-0.023,0.242-0.279,0.344-0.393c0.102-0.114,0.394-0.47,0.534-0.496c0.139-0.025,0.355-0.229,0.368-0.343c0.013-0.115,0.38-0.547,0.394-0.635c0.013-0.09,0.166-0.42,0.102-0.497c-0.062-0.076-0.559,0.115-0.622,0.141c-0.064,0.025-0.241,0.127-0.446,0.113c-0.202-0.013-0.114-0.177-0.127-0.254c-0.012-0.076-0.228-0.368-0.279-0.381c-0.051-0.012-0.203-0.166-0.267-0.317c-0.063-0.153-0.152-0.343-0.254-0.458c-0.102-0.114-0.165-0.38-0.268-0.559c-0.101-0.178-0.189-0.407-0.279-0.572c-0.021-0.041-0.045-0.079-0.067-0.117c0.118-0.029,0.289-0.082,0.31-0.009c0.024,0.088,0.165,0.279,0.19,0.419s0.165,0.089,0.178,0.216c0.014,0.128,0.14,0.433,0.19,0.47c0.052,0.038,0.28,0.242,0.318,0.318c0.038,0.076,0.089,0.178,0.127,0.369c0.038,0.19,0.076,0.444,0.179,0.482c0.102,0.038,0.444-0.064,0.508-0.102s0.482-0.242,0.635-0.255c0.153-0.012,0.179-0.115,0.368-0.152c0.191-0.038,0.331-0.177,0.458-0.28c0.127-0.101,0.28-0.355,0.33-0.444c0.052-0.088,0.179-0.152,0.115-0.253c-0.063-0.103-0.331-0.254-0.433-0.268c-0.102-0.012-0.089-0.178-0.152-0.178s-0.051,0.088-0.178,0.153c-0.127,0.063-0.255,0.19-0.344,0.165s0.026-0.089-0.113-0.203s-0.192-0.14-0.192-0.228c0-0.089-0.278-0.255-0.304-0.382c-0.026-0.127,0.19-0.305,0.254-0.19c0.063,0.114,0.115,0.292,0.279,0.368c0.165,0.076,0.318,0.204,0.395,0.229c0.076,0.025,0.267-0.14,0.33-0.114c0.063,0.024,0.191,0.253,0.306,0.292c0.113,0.038,0.495,0.051,0.559,0.051s0.33,0.013,0.381-0.063c0.051-0.076,0.089-0.076,0.153-0.076c0.062,0,0.177,0.229,0.267,0.254c0.089,0.025,0.254,0.013,0.241,0.179c-0.012,0.164,0.076,0.305,0.165,0.317c0.09,0.012,0.293-0.191,0.293-0.191s0,0.318-0.012,0.433c-0.014,0.113,0.139,0.534,0.139,0.534s0.19,0.393,0.241,0.482s0.267,0.355,0.267,0.47c0,0.115,0.025,0.293,0.103,0.293c0.076,0,0.152-0.203,0.24-0.331c0.091-0.126,0.116-0.305,0.153-0.432c0.038-0.127,0.038-0.356,0.038-0.444c0-0.09,0.075-0.166,0.255-0.242c0.178-0.076,0.304-0.292,0.456-0.407c0.153-0.115,0.141-0.305,0.446-0.305c0.305,0,0.278,0,0.355-0.077c0.076-0.076,0.151-0.127,0.19,0.013c0.038,0.14,0.254,0.343,0.292,0.394c0.038,0.052,0.114,0.191,0.103,0.344c-0.013,0.152,0.012,0.33,0.075,0.33s0.191-0.216,0.191-0.216s0.279-0.189,0.267,0.013c-0.014,0.203,0.025,0.419,0.025,0.545c0,0.053,0.042,0.135,0.088,0.21c-0.005,0.059-0.004,0.119-0.009,0.178C27.388,17.153,27.387,17.327,27.436,17.39zM20.382,12.064c0.076,0.05,0.102,0.127,0.152,0.203c0.052,0.076,0.14,0.05,0.203,0.114c0.063,0.064-0.178,0.14-0.075,0.216c0.101,0.077,0.151,0.381,0.165,0.458c0.013,0.076-0.279,0.114-0.369,0.102c-0.089-0.013-0.354-0.102-0.445-0.127c-0.089-0.026-0.139-0.343-0.025-0.331c0.116,0.013,0.141-0.025,0.267-0.139c0.128-0.115-0.189-0.166-0.278-0.191c-0.089-0.025-0.268-0.305-0.331-0.394c-0.062-0.089-0.014-0.228,0.141-0.331c0.076-0.051,0.279,0.063,0.381,0c0.101-0.063,0.203-0.14,0.241-0.165c0.039-0.025,0.293,0.038,0.33,0.114c0.039,0.076,0.191,0.191,0.141,0.229c-0.052,0.038-0.281,0.076-0.356,0c-0.075-0.077-0.255,0.012-0.268,0.152C20.242,12.115,20.307,12.013,20.382,12.064zM16.875,12.28c-0.077-0.025,0.025-0.178,0.102-0.229c0.075-0.051,0.164-0.178,0.241-0.305c0.076-0.127,0.178-0.14,0.241-0.127c0.063,0.013,0.203,0.241,0.241,0.318c0.038,0.076,0.165-0.026,0.217-0.051c0.05-0.025,0.127-0.102,0.14-0.165s0.127-0.102,0.254-0.102s0.013,0.102-0.076,0.127c-0.09,0.025-0.038,0.077,0.113,0.127c0.153,0.051,0.293,0.191,0.459,0.279c0.165,0.089,0.19,0.267,0.088,0.292c-0.101,0.025-0.406,0.051-0.521,0.038c-0.114-0.013-0.254-0.127-0.419-0.153c-0.165-0.025-0.369-0.013-0.433,0.077s-0.292,0.05-0.395,0.05c-0.102,0-0.228,0.127-0.253,0.077C16.875,12.534,16.951,12.306,16.875,12.28zM17.307,9.458c0.063-0.178,0.419,0.038,0.355,0.127C17.599,9.675,17.264,9.579,17.307,9.458zM17.802,18.584c0.063,0.102-0.14,0.431-0.254,0.407c-0.113-0.027-0.076-0.318-0.038-0.382C17.548,18.545,17.769,18.529,17.802,18.584zM13.189,12.674c0.025-0.051-0.039-0.153-0.127-0.013C13.032,12.71,13.164,12.725,13.189,12.674zM20.813,8.035c0.141,0.076,0.339,0.107,0.433,0.013c0.076-0.076,0.013-0.204-0.05-0.216c-0.064-0.013-0.104-0.115,0.062-0.203c0.165-0.089,0.343-0.204,0.534-0.229c0.19-0.025,0.622-0.038,0.774,0c0.152,0.039,0.382-0.166,0.445-0.254s-0.203-0.152-0.279-0.051c-0.077,0.102-0.444,0.076-0.521,0.051c-0.076-0.025-0.686,0.102-0.812,0.102c-0.128,0-0.179,0.152-0.356,0.229c-0.179,0.076-0.42,0.191-0.509,0.229c-0.088,0.038-0.177,0.19-0.101,0.216C20.509,7.947,20.674,7.959,20.813,8.035zM14.142,12.674c0.064-0.089-0.051-0.217-0.114-0.217c-0.12,0-0.178,0.191-0.103,0.254C14.002,12.776,14.078,12.763,14.142,12.674zM14.714,13.017c0.064,0.025,0.114,0.102,0.165,0.114c0.052,0.013,0.217,0,0.167-0.127s-0.167-0.127-0.204-0.127c-0.038,0-0.203-0.038-0.267,0C14.528,12.905,14.65,12.992,14.714,13.017zM11.308,10.958c0.101,0.013,0.217-0.063,0.305-0.101c0.088-0.038,0.216-0.114,0.216-0.229c0-0.114-0.025-0.216-0.077-0.267c-0.051-0.051-0.14-0.064-0.216-0.051c-0.115,0.02-0.127,0.14-0.203,0.14c-0.076,0-0.165,0.025-0.14,0.114s0.077,0.152,0,0.19C11.117,10.793,11.205,10.946,11.308,10.958zM11.931,10.412c0.127,0.051,0.394,0.102,0.292,0.153c-0.102,0.051-0.28,0.19-0.305,0.267s0.216,0.153,0.216,0.153s-0.077,0.089-0.013,0.114c0.063,0.025,0.102-0.089,0.203-0.089c0.101,0,0.304,0.063,0.406,0.063c0.103,0,0.267-0.14,0.254-0.229c-0.013-0.089-0.14-0.229-0.254-0.28c-0.113-0.051-0.241-0.28-0.317-0.331c-0.076-0.051,0.076-0.178-0.013-0.267c-0.09-0.089-0.153-0.076-0.255-0.14c-0.102-0.063-0.191,0.013-0.254,0.089c-0.063,0.076-0.14-0.013-0.217,0.012c-0.102,0.035-0.063,0.166-0.012,0.229C11.714,10.221,11.804,10.361,11.931,10.412zM24.729,17.198c-0.083,0.037-0.153,0.47,0,0.521c0.152,0.052,0.241-0.202,0.191-0.267C24.868,17.39,24.843,17.147,24.729,17.198zM20.114,20.464c-0.159-0.045-0.177,0.166-0.304,0.306c-0.128,0.141-0.267,0.254-0.317,0.241c-0.052-0.013-0.331,0.089-0.242,0.279c0.089,0.191,0.076,0.382-0.013,0.472c-0.089,0.088,0.076,0.342,0.052,0.482c-0.026,0.139,0.037,0.229,0.215,0.229s0.242-0.064,0.318-0.229c0.076-0.166,0.088-0.331,0.164-0.47c0.077-0.141,0.141-0.434,0.179-0.51c0.038-0.075,0.114-0.316,0.102-0.457C20.254,20.669,20.204,20.489,20.114,20.464zM10.391,8.802c-0.069-0.06-0.229-0.102-0.306-0.11c-0.076-0.008-0.152,0.06-0.321,0.06c-0.168,0-0.279,0.067-0.347,0C9.349,8.684,9.068,8.65,9.042,8.692C9.008,8.749,8.941,8.751,9.008,8.87c0.069,0.118,0.12,0.186,0.179,0.178s0.262-0.017,0.288,0.051C9.5,9.167,9.569,9.226,9.712,9.184c0.145-0.042,0.263-0.068,0.296-0.119c0.033-0.051,0.263-0.059,0.263-0.059S10.458,8.861,10.391,8.802z" }));
backContainer.events.on("click", function () { chart.goHome(); worldSeries.show(); countrySeries.hide(); backContainer.hide();});<div id="chartdiv"></div>body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";}
#chartdiv { width: 100%; height: 95vh;}{ "type": "MapChart", "settings": { "panX": "rotateX", "projectionName": "geoMercator" }, "properties": { "series": [ "#series-0", "#series-1" ] }, "children": [ { "type": "Container", "settings": { "x": { "type": "Percent", "value": 100 }, "centerX": { "type": "Percent", "value": 100 }, "dx": -10, "paddingTop": 5, "paddingRight": 10, "paddingBottom": 5, "y": 30, "interactiveChildren": false, "layout": { "type": "HorizontalLayout" }, "cursorOverStyle": "pointer", "background": { "type": "RoundedRectangle", "settings": { "fill": { "type": "Color", "value": "#ffffff" }, "fillOpacity": 0.2 } }, "visible": false }, "children": [ { "type": "Label", "settings": { "text": "Back to world map", "centerY": { "type": "Percent", "value": 50 } } }, { "type": "Graphics", "settings": { "width": 32, "height": 32, "centerY": { "type": "Percent", "value": 50 }, "fill": { "type": "Color", "value": "#555555" }, "svgPath": "M16,1.466C7.973,1.466,1.466,7.973,1.466,16c0,8.027,6.507,14.534,14.534,14.534c8.027,0,14.534-6.507,14.534-14.534C30.534,7.973,24.027,1.466,16,1.466zM27.436,17.39c0.001,0.002,0.004,0.002,0.005,0.004c-0.022,0.187-0.054,0.37-0.085,0.554c-0.015-0.012-0.034-0.025-0.047-0.036c-0.103-0.09-0.254-0.128-0.318-0.115c-0.157,0.032,0.229,0.305,0.267,0.342c0.009,0.009,0.031,0.03,0.062,0.058c-1.029,5.312-5.709,9.338-11.319,9.338c-4.123,0-7.736-2.18-9.776-5.441c0.123-0.016,0.24-0.016,0.28-0.076c0.051-0.077,0.102-0.241,0.178-0.331c0.077-0.089,0.165-0.229,0.127-0.292c-0.039-0.064,0.101-0.344,0.088-0.419c-0.013-0.076-0.127-0.256,0.064-0.407s0.394-0.382,0.407-0.444c0.012-0.063,0.166-0.331,0.152-0.458c-0.012-0.127-0.152-0.28-0.24-0.318c-0.09-0.037-0.28-0.05-0.356-0.151c-0.077-0.103-0.292-0.203-0.368-0.178c-0.076,0.025-0.204,0.05-0.305-0.015c-0.102-0.062-0.267-0.139-0.33-0.189c-0.065-0.05-0.229-0.088-0.305-0.088c-0.077,0-0.065-0.052-0.178,0.101c-0.114,0.153,0,0.204-0.204,0.177c-0.204-0.023,0.025-0.036,0.141-0.189c0.113-0.152-0.013-0.242-0.141-0.203c-0.126,0.038-0.038,0.115-0.241,0.153c-0.203,0.036-0.203-0.09-0.076-0.115s0.355-0.139,0.355-0.19c0-0.051-0.025-0.191-0.127-0.191s-0.077-0.126-0.229-0.291c-0.092-0.101-0.196-0.164-0.299-0.204c-0.09-0.579-0.15-1.167-0.15-1.771c0-2.844,1.039-5.446,2.751-7.458c0.024-0.02,0.048-0.034,0.069-0.036c0.084-0.009,0.31-0.025,0.51-0.059c0.202-0.034,0.418-0.161,0.489-0.153c0.069,0.008,0.241,0.008,0.186-0.042C8.417,8.2,8.339,8.082,8.223,8.082S8.215,7.896,8.246,7.896c0.03,0,0.186,0.025,0.178,0.11C8.417,8.091,8.471,8.2,8.625,8.167c0.156-0.034,0.132-0.162,0.102-0.195C8.695,7.938,8.672,7.853,8.642,7.794c-0.031-0.06-0.023-0.136,0.14-0.153C8.944,7.625,9.168,7.708,9.16,7.573s0-0.28,0.046-0.356C9.253,7.142,9.354,7.09,9.299,7.065C9.246,7.04,9.176,7.099,9.121,6.972c-0.054-0.127,0.047-0.22,0.108-0.271c0.02-0.015,0.067-0.06,0.124-0.112C11.234,5.257,13.524,4.466,16,4.466c3.213,0,6.122,1.323,8.214,3.45c-0.008,0.022-0.01,0.052-0.031,0.056c-0.077,0.013-0.166,0.063-0.179-0.051c-0.013-0.114-0.013-0.331-0.102-0.203c-0.089,0.127-0.127,0.127-0.127,0.191c0,0.063,0.076,0.127,0.051,0.241C23.8,8.264,23.8,8.341,23.84,8.341c0.036,0,0.126-0.115,0.239-0.141c0.116-0.025,0.319-0.088,0.332,0.026c0.013,0.115,0.139,0.152,0.013,0.203c-0.128,0.051-0.267,0.026-0.293-0.051c-0.025-0.077-0.114-0.077-0.203-0.013c-0.088,0.063-0.279,0.292-0.279,0.292s-0.306,0.139-0.343,0.114c-0.04-0.025,0.101-0.165,0.203-0.228c0.102-0.064,0.178-0.204,0.14-0.242c-0.038-0.038-0.088-0.279-0.063-0.343c0.025-0.063,0.139-0.152,0.013-0.216c-0.127-0.063-0.217-0.14-0.318-0.178s-0.216,0.152-0.305,0.204c-0.089,0.051-0.076,0.114-0.191,0.127c-0.114,0.013-0.189,0.165,0,0.254c0.191,0.089,0.255,0.152,0.204,0.204c-0.051,0.051-0.267-0.025-0.267-0.025s-0.165-0.076-0.268-0.076c-0.101,0-0.229-0.063-0.33-0.076c-0.102-0.013-0.306-0.013-0.355,0.038c-0.051,0.051-0.179,0.203-0.28,0.152c-0.101-0.051-0.101-0.102-0.241-0.051c-0.14,0.051-0.279-0.038-0.355,0.038c-0.077,0.076-0.013,0.076-0.255,0c-0.241-0.076-0.189,0.051-0.419,0.089s-0.368-0.038-0.432,0.038c-0.064,0.077-0.153,0.217-0.19,0.127c-0.038-0.088,0.126-0.241,0.062-0.292c-0.062-0.051-0.33-0.025-0.367,0.013c-0.039,0.038-0.014,0.178,0.011,0.229c0.026,0.05,0.064,0.254-0.011,0.216c-0.077-0.038-0.064-0.166-0.141-0.152c-0.076,0.013-0.165,0.051-0.203,0.077c-0.038,0.025-0.191,0.025-0.229,0.076c-0.037,0.051,0.014,0.191-0.051,0.203c-0.063,0.013-0.114,0.064-0.254-0.025c-0.14-0.089-0.14-0.038-0.178-0.012c-0.038,0.025-0.216,0.127-0.229,0.012c-0.013-0.114,0.025-0.152-0.089-0.229c-0.115-0.076-0.026-0.076,0.127-0.025c0.152,0.05,0.343,0.075,0.622-0.013c0.28-0.089,0.395-0.127,0.28-0.178c-0.115-0.05-0.229-0.101-0.406-0.127c-0.179-0.025-0.42-0.025-0.7-0.127c-0.279-0.102-0.343-0.14-0.457-0.165c-0.115-0.026-0.813-0.14-1.132-0.089c-0.317,0.051-1.193,0.28-1.245,0.318s-0.128,0.19-0.292,0.318c-0.165,0.127-0.47,0.419-0.712,0.47c-0.241,0.051-0.521,0.254-0.521,0.305c0,0.051,0.101,0.242,0.076,0.28c-0.025,0.038,0.05,0.229,0.191,0.28c0.139,0.05,0.381,0.038,0.393-0.039c0.014-0.076,0.204-0.241,0.217-0.127c0.013,0.115,0.14,0.292,0.114,0.368c-0.025,0.077,0,0.153,0.09,0.14c0.088-0.012,0.559-0.114,0.559-0.114s0.153-0.064,0.127-0.166c-0.026-0.101,0.166-0.241,0.203-0.279c0.038-0.038,0.178-0.191,0.014-0.241c-0.167-0.051-0.293-0.064-0.115-0.216s0.292,0,0.521-0.229c0.229-0.229-0.051-0.292,0.191-0.305c0.241-0.013,0.496-0.025,0.444,0.051c-0.05,0.076-0.342,0.242-0.508,0.318c-0.166,0.077-0.14,0.216-0.076,0.292c0.063,0.076,0.09,0.254,0.204,0.229c0.113-0.025,0.254-0.114,0.38-0.101c0.128,0.012,0.383-0.013,0.42-0.013c0.039,0,0.216,0.178,0.114,0.203c-0.101,0.025-0.229,0.013-0.445,0.025c-0.215,0.013-0.456,0.013-0.456,0.051c0,0.039,0.292,0.127,0.19,0.191c-0.102,0.063-0.203-0.013-0.331-0.026c-0.127-0.012-0.203,0.166-0.241,0.267c-0.039,0.102,0.063,0.28-0.127,0.216c-0.191-0.063-0.331-0.063-0.381-0.038c-0.051,0.025-0.203,0.076-0.331,0.114c-0.126,0.038-0.076-0.063-0.242-0.063c-0.164,0-0.164,0-0.164,0l-0.103,0.013c0,0-0.101-0.063-0.114-0.165c-0.013-0.102,0.05-0.216-0.013-0.241c-0.064-0.026-0.292,0.012-0.33,0.088c-0.038,0.076-0.077,0.216-0.026,0.28c0.052,0.063,0.204,0.19,0.064,0.152c-0.14-0.038-0.317-0.051-0.419,0.026c-0.101,0.076-0.279,0.241-0.279,0.241s-0.318,0.025-0.318,0.102c0,0.077,0,0.178-0.114,0.191c-0.115,0.013-0.268,0.05-0.42,0.076c-0.153,0.025-0.139,0.088-0.317,0.102s-0.204,0.089-0.038,0.114c0.165,0.025,0.418,0.127,0.431,0.241c0.014,0.114-0.013,0.242-0.076,0.356c-0.043,0.079-0.305,0.026-0.458,0.026c-0.152,0-0.456-0.051-0.584,0c-0.127,0.051-0.102,0.305-0.064,0.419c0.039,0.114-0.012,0.178-0.063,0.216c-0.051,0.038-0.065,0.152,0,0.204c0.063,0.051,0.114,0.165,0.166,0.178c0.051,0.013,0.215-0.038,0.279,0.025c0.064,0.064,0.127,0.216,0.165,0.178c0.039-0.038,0.089-0.203,0.153-0.166c0.064,0.039,0.216-0.012,0.331-0.025s0.177-0.14,0.292-0.204c0.114-0.063,0.05-0.063,0.013-0.14c-0.038-0.076,0.114-0.165,0.204-0.254c0.088-0.089,0.253-0.013,0.292-0.115c0.038-0.102,0.051-0.279,0.151-0.267c0.103,0.013,0.243,0.076,0.331,0.076c0.089,0,0.279-0.14,0.332-0.165c0.05-0.025,0.241-0.013,0.267,0.102c0.025,0.114,0.241,0.254,0.292,0.279c0.051,0.025,0.381,0.127,0.433,0.165c0.05,0.038,0.126,0.153,0.152,0.254c0.025,0.102,0.114,0.102,0.128,0.013c0.012-0.089-0.065-0.254,0.025-0.242c0.088,0.013,0.191-0.026,0.191-0.026s-0.243-0.165-0.331-0.203c-0.088-0.038-0.255-0.114-0.331-0.241c-0.076-0.127-0.267-0.153-0.254-0.279c0.013-0.127,0.191-0.051,0.292,0.051c0.102,0.102,0.356,0.241,0.445,0.33c0.088,0.089,0.229,0.127,0.267,0.242c0.039,0.114,0.152,0.241,0.19,0.292c0.038,0.051,0.165,0.331,0.204,0.394c0.038,0.063,0.165-0.012,0.229-0.063c0.063-0.051,0.179-0.076,0.191-0.178c0.013-0.102-0.153-0.178-0.203-0.216c-0.051-0.038,0.127-0.076,0.191-0.127c0.063-0.05,0.177-0.14,0.228-0.063c0.051,0.077,0.026,0.381,0.051,0.432c0.025,0.051,0.279,0.127,0.331,0.191c0.05,0.063,0.267,0.089,0.304,0.051c0.039-0.038,0.242,0.026,0.294,0.038c0.049,0.013,0.202-0.025,0.304-0.05c0.103-0.025,0.204-0.102,0.191,0.063c-0.013,0.165-0.051,0.419-0.179,0.546c-0.127,0.127-0.076,0.191-0.202,0.191c-0.06,0-0.113,0-0.156,0.021c-0.041-0.065-0.098-0.117-0.175-0.097c-0.152,0.038-0.344,0.038-0.47,0.19c-0.128,0.153-0.178,0.165-0.204,0.114c-0.025-0.051,0.369-0.267,0.317-0.331c-0.05-0.063-0.355-0.038-0.521-0.038c-0.166,0-0.305-0.102-0.433-0.127c-0.126-0.025-0.292,0.127-0.418,0.254c-0.128,0.127-0.216,0.038-0.331,0.038c-0.115,0-0.331-0.165-0.331-0.165s-0.216-0.089-0.305-0.089c-0.088,0-0.267-0.165-0.318-0.165c-0.05,0-0.19-0.115-0.088-0.166c0.101-0.05,0.202,0.051,0.101-0.229c-0.101-0.279-0.33-0.216-0.419-0.178c-0.088,0.039-0.724,0.025-0.775,0.025c-0.051,0-0.419,0.127-0.533,0.178c-0.116,0.051-0.318,0.115-0.369,0.14c-0.051,0.025-0.318-0.051-0.433,0.013c-0.151,0.084-0.291,0.216-0.33,0.216c-0.038,0-0.153,0.089-0.229,0.28c-0.077,0.19,0.013,0.355-0.128,0.419c-0.139,0.063-0.394,0.204-0.495,0.305c-0.102,0.101-0.229,0.458-0.355,0.623c-0.127,0.165,0,0.317,0.025,0.419c0.025,0.101,0.114,0.292-0.025,0.471c-0.14,0.178-0.127,0.266-0.191,0.279c-0.063,0.013,0.063,0.063,0.088,0.19c0.025,0.128-0.114,0.255,0.128,0.369c0.241,0.113,0.355,0.217,0.418,0.367c0.064,0.153,0.382,0.407,0.382,0.407s0.229,0.205,0.344,0.293c0.114,0.089,0.152,0.038,0.177-0.05c0.025-0.09,0.178-0.104,0.355-0.104c0.178,0,0.305,0.04,0.483,0.014c0.178-0.025,0.356-0.141,0.42-0.166c0.063-0.025,0.279-0.164,0.443-0.063c0.166,0.103,0.141,0.241,0.23,0.332c0.088,0.088,0.24,0.037,0.355-0.051c0.114-0.09,0.064-0.052,0.203,0.025c0.14,0.075,0.204,0.151,0.077,0.267c-0.128,0.113-0.051,0.293-0.128,0.47c-0.076,0.178-0.063,0.203,0.077,0.278c0.14,0.076,0.394,0.548,0.47,0.638c0.077,0.088-0.025,0.342,0.064,0.495c0.089,0.151,0.178,0.254,0.077,0.331c-0.103,0.075-0.28,0.216-0.292,0.47s0.051,0.431,0.102,0.521s0.177,0.331,0.241,0.419c0.064,0.089,0.14,0.305,0.152,0.445c0.013,0.14-0.024,0.306,0.039,0.381c0.064,0.076,0.102,0.191,0.216,0.292c0.115,0.103,0.152,0.318,0.152,0.318s0.039,0.089,0.051,0.229c0.012,0.14,0.025,0.228,0.152,0.292c0.126,0.063,0.215,0.076,0.28,0.013c0.063-0.063,0.381-0.077,0.546-0.063c0.165,0.013,0.355-0.075,0.521-0.19s0.407-0.419,0.496-0.508c0.089-0.09,0.292-0.255,0.268-0.356c-0.025-0.101-0.077-0.203,0.024-0.254c0.102-0.052,0.344-0.152,0.356-0.229c0.013-0.077-0.09-0.395-0.115-0.457c-0.024-0.064,0.064-0.18,0.165-0.306c0.103-0.128,0.421-0.216,0.471-0.267c0.051-0.053,0.191-0.267,0.217-0.433c0.024-0.167-0.051-0.369,0-0.457c0.05-0.09,0.013-0.165-0.103-0.268c-0.114-0.102-0.089-0.407-0.127-0.457c-0.037-0.051-0.013-0.319,0.063-0.345c0.076-0.023,0.242-0.279,0.344-0.393c0.102-0.114,0.394-0.47,0.534-0.496c0.139-0.025,0.355-0.229,0.368-0.343c0.013-0.115,0.38-0.547,0.394-0.635c0.013-0.09,0.166-0.42,0.102-0.497c-0.062-0.076-0.559,0.115-0.622,0.141c-0.064,0.025-0.241,0.127-0.446,0.113c-0.202-0.013-0.114-0.177-0.127-0.254c-0.012-0.076-0.228-0.368-0.279-0.381c-0.051-0.012-0.203-0.166-0.267-0.317c-0.063-0.153-0.152-0.343-0.254-0.458c-0.102-0.114-0.165-0.38-0.268-0.559c-0.101-0.178-0.189-0.407-0.279-0.572c-0.021-0.041-0.045-0.079-0.067-0.117c0.118-0.029,0.289-0.082,0.31-0.009c0.024,0.088,0.165,0.279,0.19,0.419s0.165,0.089,0.178,0.216c0.014,0.128,0.14,0.433,0.19,0.47c0.052,0.038,0.28,0.242,0.318,0.318c0.038,0.076,0.089,0.178,0.127,0.369c0.038,0.19,0.076,0.444,0.179,0.482c0.102,0.038,0.444-0.064,0.508-0.102s0.482-0.242,0.635-0.255c0.153-0.012,0.179-0.115,0.368-0.152c0.191-0.038,0.331-0.177,0.458-0.28c0.127-0.101,0.28-0.355,0.33-0.444c0.052-0.088,0.179-0.152,0.115-0.253c-0.063-0.103-0.331-0.254-0.433-0.268c-0.102-0.012-0.089-0.178-0.152-0.178s-0.051,0.088-0.178,0.153c-0.127,0.063-0.255,0.19-0.344,0.165s0.026-0.089-0.113-0.203s-0.192-0.14-0.192-0.228c0-0.089-0.278-0.255-0.304-0.382c-0.026-0.127,0.19-0.305,0.254-0.19c0.063,0.114,0.115,0.292,0.279,0.368c0.165,0.076,0.318,0.204,0.395,0.229c0.076,0.025,0.267-0.14,0.33-0.114c0.063,0.024,0.191,0.253,0.306,0.292c0.113,0.038,0.495,0.051,0.559,0.051s0.33,0.013,0.381-0.063c0.051-0.076,0.089-0.076,0.153-0.076c0.062,0,0.177,0.229,0.267,0.254c0.089,0.025,0.254,0.013,0.241,0.179c-0.012,0.164,0.076,0.305,0.165,0.317c0.09,0.012,0.293-0.191,0.293-0.191s0,0.318-0.012,0.433c-0.014,0.113,0.139,0.534,0.139,0.534s0.19,0.393,0.241,0.482s0.267,0.355,0.267,0.47c0,0.115,0.025,0.293,0.103,0.293c0.076,0,0.152-0.203,0.24-0.331c0.091-0.126,0.116-0.305,0.153-0.432c0.038-0.127,0.038-0.356,0.038-0.444c0-0.09,0.075-0.166,0.255-0.242c0.178-0.076,0.304-0.292,0.456-0.407c0.153-0.115,0.141-0.305,0.446-0.305c0.305,0,0.278,0,0.355-0.077c0.076-0.076,0.151-0.127,0.19,0.013c0.038,0.14,0.254,0.343,0.292,0.394c0.038,0.052,0.114,0.191,0.103,0.344c-0.013,0.152,0.012,0.33,0.075,0.33s0.191-0.216,0.191-0.216s0.279-0.189,0.267,0.013c-0.014,0.203,0.025,0.419,0.025,0.545c0,0.053,0.042,0.135,0.088,0.21c-0.005,0.059-0.004,0.119-0.009,0.178C27.388,17.153,27.387,17.327,27.436,17.39zM20.382,12.064c0.076,0.05,0.102,0.127,0.152,0.203c0.052,0.076,0.14,0.05,0.203,0.114c0.063,0.064-0.178,0.14-0.075,0.216c0.101,0.077,0.151,0.381,0.165,0.458c0.013,0.076-0.279,0.114-0.369,0.102c-0.089-0.013-0.354-0.102-0.445-0.127c-0.089-0.026-0.139-0.343-0.025-0.331c0.116,0.013,0.141-0.025,0.267-0.139c0.128-0.115-0.189-0.166-0.278-0.191c-0.089-0.025-0.268-0.305-0.331-0.394c-0.062-0.089-0.014-0.228,0.141-0.331c0.076-0.051,0.279,0.063,0.381,0c0.101-0.063,0.203-0.14,0.241-0.165c0.039-0.025,0.293,0.038,0.33,0.114c0.039,0.076,0.191,0.191,0.141,0.229c-0.052,0.038-0.281,0.076-0.356,0c-0.075-0.077-0.255,0.012-0.268,0.152C20.242,12.115,20.307,12.013,20.382,12.064zM16.875,12.28c-0.077-0.025,0.025-0.178,0.102-0.229c0.075-0.051,0.164-0.178,0.241-0.305c0.076-0.127,0.178-0.14,0.241-0.127c0.063,0.013,0.203,0.241,0.241,0.318c0.038,0.076,0.165-0.026,0.217-0.051c0.05-0.025,0.127-0.102,0.14-0.165s0.127-0.102,0.254-0.102s0.013,0.102-0.076,0.127c-0.09,0.025-0.038,0.077,0.113,0.127c0.153,0.051,0.293,0.191,0.459,0.279c0.165,0.089,0.19,0.267,0.088,0.292c-0.101,0.025-0.406,0.051-0.521,0.038c-0.114-0.013-0.254-0.127-0.419-0.153c-0.165-0.025-0.369-0.013-0.433,0.077s-0.292,0.05-0.395,0.05c-0.102,0-0.228,0.127-0.253,0.077C16.875,12.534,16.951,12.306,16.875,12.28zM17.307,9.458c0.063-0.178,0.419,0.038,0.355,0.127C17.599,9.675,17.264,9.579,17.307,9.458zM17.802,18.584c0.063,0.102-0.14,0.431-0.254,0.407c-0.113-0.027-0.076-0.318-0.038-0.382C17.548,18.545,17.769,18.529,17.802,18.584zM13.189,12.674c0.025-0.051-0.039-0.153-0.127-0.013C13.032,12.71,13.164,12.725,13.189,12.674zM20.813,8.035c0.141,0.076,0.339,0.107,0.433,0.013c0.076-0.076,0.013-0.204-0.05-0.216c-0.064-0.013-0.104-0.115,0.062-0.203c0.165-0.089,0.343-0.204,0.534-0.229c0.19-0.025,0.622-0.038,0.774,0c0.152,0.039,0.382-0.166,0.445-0.254s-0.203-0.152-0.279-0.051c-0.077,0.102-0.444,0.076-0.521,0.051c-0.076-0.025-0.686,0.102-0.812,0.102c-0.128,0-0.179,0.152-0.356,0.229c-0.179,0.076-0.42,0.191-0.509,0.229c-0.088,0.038-0.177,0.19-0.101,0.216C20.509,7.947,20.674,7.959,20.813,8.035zM14.142,12.674c0.064-0.089-0.051-0.217-0.114-0.217c-0.12,0-0.178,0.191-0.103,0.254C14.002,12.776,14.078,12.763,14.142,12.674zM14.714,13.017c0.064,0.025,0.114,0.102,0.165,0.114c0.052,0.013,0.217,0,0.167-0.127s-0.167-0.127-0.204-0.127c-0.038,0-0.203-0.038-0.267,0C14.528,12.905,14.65,12.992,14.714,13.017zM11.308,10.958c0.101,0.013,0.217-0.063,0.305-0.101c0.088-0.038,0.216-0.114,0.216-0.229c0-0.114-0.025-0.216-0.077-0.267c-0.051-0.051-0.14-0.064-0.216-0.051c-0.115,0.02-0.127,0.14-0.203,0.14c-0.076,0-0.165,0.025-0.14,0.114s0.077,0.152,0,0.19C11.117,10.793,11.205,10.946,11.308,10.958zM11.931,10.412c0.127,0.051,0.394,0.102,0.292,0.153c-0.102,0.051-0.28,0.19-0.305,0.267s0.216,0.153,0.216,0.153s-0.077,0.089-0.013,0.114c0.063,0.025,0.102-0.089,0.203-0.089c0.101,0,0.304,0.063,0.406,0.063c0.103,0,0.267-0.14,0.254-0.229c-0.013-0.089-0.14-0.229-0.254-0.28c-0.113-0.051-0.241-0.28-0.317-0.331c-0.076-0.051,0.076-0.178-0.013-0.267c-0.09-0.089-0.153-0.076-0.255-0.14c-0.102-0.063-0.191,0.013-0.254,0.089c-0.063,0.076-0.14-0.013-0.217,0.012c-0.102,0.035-0.063,0.166-0.012,0.229C11.714,10.221,11.804,10.361,11.931,10.412zM24.729,17.198c-0.083,0.037-0.153,0.47,0,0.521c0.152,0.052,0.241-0.202,0.191-0.267C24.868,17.39,24.843,17.147,24.729,17.198zM20.114,20.464c-0.159-0.045-0.177,0.166-0.304,0.306c-0.128,0.141-0.267,0.254-0.317,0.241c-0.052-0.013-0.331,0.089-0.242,0.279c0.089,0.191,0.076,0.382-0.013,0.472c-0.089,0.088,0.076,0.342,0.052,0.482c-0.026,0.139,0.037,0.229,0.215,0.229s0.242-0.064,0.318-0.229c0.076-0.166,0.088-0.331,0.164-0.47c0.077-0.141,0.141-0.434,0.179-0.51c0.038-0.075,0.114-0.316,0.102-0.457C20.254,20.669,20.204,20.489,20.114,20.464zM10.391,8.802c-0.069-0.06-0.229-0.102-0.306-0.11c-0.076-0.008-0.152,0.06-0.321,0.06c-0.168,0-0.279,0.067-0.347,0C9.349,8.684,9.068,8.65,9.042,8.692C9.008,8.749,8.941,8.751,9.008,8.87c0.069,0.118,0.12,0.186,0.179,0.178s0.262-0.017,0.288,0.051C9.5,9.167,9.569,9.226,9.712,9.184c0.145-0.042,0.263-0.068,0.296-0.119c0.033-0.051,0.263-0.059,0.263-0.059S10.458,8.861,10.391,8.802z" } } ] } ], "refs": [ { "data-0": [ { "id": "AD", "map": "andorraLow", "polygonSettings": { "fill": { "type": "Color", "value": "#8067dc" }, "__parse": true }, "__parse": true }, { "id": "AE", "map": "uaeLow", "polygonSettings": { "fill": { "type": "Color", "value": "#6771dc" }, "__parse": true }, "__parse": true }, { "id": "AF", "map": "afghanistanLow", "polygonSettings": { "fill": { "type": "Color", "value": "#6771dc" }, "__parse": true }, "__parse": true }, { "id": "AG", "map": "antiguaBarbudaLow", "polygonSettings": { "fill": { "type": "Color", "value": "#a367dc" }, "__parse": true }, "__parse": true }, { "id": "AI", "map": "anguillaLow", "polygonSettings": { "fill": { "type": "Color", "value": "#a367dc" }, "__parse": true }, "__parse": true }, { "id": "AL", "map": "albaniaLow", "polygonSettings": { "fill": { "type": "Color", "value": "#8067dc" }, "__parse": true }, "__parse": true }, { "id": "AM", "map": "armeniaLow", "polygonSettings": { "fill": { "type": "Color", "value": "#8067dc" }, "__parse": true }, "__parse": true }, { "id": "AO", "map": "angolaLow", "polygonSettings": { "fill": { "type": "Color", "value": "#67b7dc" }, "__parse": true }, "__parse": true }, { "id": "AR", "map": "argentinaLow", "polygonSettings": { "fill": { "type": "Color", "value": "#dc67ce" }, "__parse": true }, "__parse": true }, { "id": "AS", "map": "americanSamoaLow", "polygonSettings": { "fill": { "type": "Color", "value": "#c767dc" }, "__parse": true }, "__parse": true }, { "id": "AT", "map": "austriaLow", "polygonSettings": { "fill": { "type": "Color", "value": "#8067dc" }, "__parse": true }, "__parse": true }, { "id": "AU", "map": "australiaLow", "polygonSettings": { "fill": { "type": "Color", "value": "#c767dc" }, "__parse": true }, "__parse": true }, { "id": "AW", "map": "arubaLow", "polygonSettings": { "fill": { "type": "Color", "value": "#a367dc" }, "__parse": true }, "__parse": true }, { "id": "AZ", "map": "azerbaijanLow", "polygonSettings": { "fill": { "type": "Color", "value": "#8067dc" }, "__parse": true }, "__parse": true }, { "id": "BA", "map": "bosniaHerzegovinaLow", "polygonSettings": { "fill": { "type": "Color", "value": "#8067dc" }, "__parse": true }, "__parse": true }, { "id": "BB", "map": "barbadosLow", "polygonSettings": { "fill": { "type": "Color", "value": "#a367dc" }, "__parse": true }, "__parse": true }, { "id": "BD", "map": "bangladeshLow", "polygonSettings": { "fill": { "type": "Color", "value": "#6771dc" }, "__parse": true }, "__parse": true }, { "id": "BE", "map": "belgiumLow", "polygonSettings": { "fill": { "type": "Color", "value": "#8067dc" }, "__parse": true }, "__parse": true }, { "id": "BF", "map": "burkinaFasoLow", "polygonSettings": { "fill": { "type": "Color", "value": "#67b7dc" }, "__parse": true }, "__parse": true }, { "id": "BG", "map": "bulgariaLow", "polygonSettings": { "fill": { "type": "Color", "value": "#8067dc" }, "__parse": true }, "__parse": true }, { "id": "BH", "map": "bahrainLow", "polygonSettings": { "fill": { "type": "Color", "value": "#6771dc" }, "__parse": true }, "__parse": true }, { "id": "BI", "map": "burundiLow", "polygonSettings": { "fill": { "type": "Color", "value": "#67b7dc" }, "__parse": true }, "__parse": true }, { "id": "BJ", "map": "beninLow", "polygonSettings": { "fill": { "type": "Color", "value": "#67b7dc" }, "__parse": true }, "__parse": true }, { "id": "BM", "map": "bermudaLow", "polygonSettings": { "fill": { "type": "Color", "value": "#a367dc" }, "__parse": true }, "__parse": true }, { "id": "BN", "map": "bruneiDarussalamLow", "polygonSettings": { "fill": { "type": "Color", "value": "#6771dc" }, "__parse": true }, "__parse": true }, { "id": "BO", "map": "boliviaLow", "polygonSettings": { "fill": { "type": "Color", "value": "#dc67ce" }, "__parse": true }, "__parse": true }, { "id": "BQ", "map": "bonaireSintEustatiusSabaLow", "polygonSettings": { "fill": { "type": "Color", "value": "#a367dc" }, "__parse": true }, "__parse": true }, { "id": "BR", "map": "brazilLow", "polygonSettings": { "fill": { "type": "Color", "value": "#dc67ce" }, "__parse": true }, "__parse": true }, { "id": "BS", "map": "bahamasLow", "polygonSettings": { "fill": { "type": "Color", "value": "#a367dc" }, "__parse": true }, "__parse": true }, { "id": "BT", "map": "bhutanLow", "polygonSettings": { "fill": { "type": "Color", "value": "#6771dc" }, "__parse": true }, "__parse": true }, { "id": "BW", "map": "botswanaLow", "polygonSettings": { "fill": { "type": "Color", "value": "#67b7dc" }, "__parse": true }, "__parse": true }, { "id": "BY", "map": "belarusLow", "polygonSettings": { "fill": { "type": "Color", "value": "#8067dc" }, "__parse": true }, "__parse": true }, { "id": "BZ", "map": "belizeLow", "polygonSettings": { "fill": { "type": "Color", "value": "#a367dc" }, "__parse": true }, "__parse": true }, { "id": "CA", "map": "canadaLow", "polygonSettings": { "fill": { "type": "Color", "value": "#a367dc" }, "__parse": true }, "__parse": true }, { "id": "CC", "map": "cocosKeelingLow", "polygonSettings": { "fill": { "type": "Color", "value": "#6771dc" }, "__parse": true }, "__parse": true }, { "id": "CD", "map": "congoDRLow", "polygonSettings": { "fill": { "type": "Color", "value": "#67b7dc" }, "__parse": true }, "__parse": true }, { "id": "CF", "map": "centralAfricanRepublicLow", "polygonSettings": { "fill": { "type": "Color", "value": "#67b7dc" }, "__parse": true }, "__parse": true }, { "id": "CG", "map": "congoLow", "polygonSettings": { "fill": { "type": "Color", "value": "#67b7dc" }, "__parse": true }, "__parse": true }, { "id": "CH", "map": "switzerlandLow", "polygonSettings": { "fill": { "type": "Color", "value": "#8067dc" }, "__parse": true }, "__parse": true }, { "id": "CI", "map": "cotedIvoireLow", "polygonSettings": { "fill": { "type": "Color", "value": "#67b7dc" }, "__parse": true }, "__parse": true }, { "id": "CL", "map": "chileLow", "polygonSettings": { "fill": { "type": "Color", "value": "#dc67ce" }, "__parse": true }, "__parse": true }, { "id": "CM", "map": "cameroonLow", "polygonSettings": { "fill": { "type": "Color", "value": "#67b7dc" }, "__parse": true }, "__parse": true }, { "id": "CN", "map": "chinaLow", "polygonSettings": { "fill": { "type": "Color", "value": "#6771dc" }, "__parse": true }, "__parse": true }, { "id": "CO", "map": "colombiaLow", "polygonSettings": { "fill": { "type": "Color", "value": "#dc67ce" }, "__parse": true }, "__parse": true }, { "id": "CR", "map": "costaRicaLow", "polygonSettings": { "fill": { "type": "Color", "value": "#a367dc" }, "__parse": true }, "__parse": true }, { "id": "CU", "map": "cubaLow", "polygonSettings": { "fill": { "type": "Color", "value": "#a367dc" }, "__parse": true }, "__parse": true }, { "id": "CV", "map": "capeVerdeLow", "polygonSettings": { "fill": { "type": "Color", "value": "#67b7dc" }, "__parse": true }, "__parse": true }, { "id": "CW", "map": "curacaoLow", "polygonSettings": { "fill": { "type": "Color", "value": "#a367dc" }, "__parse": true }, "__parse": true }, { "id": "CY", "map": "cyprusLow", "polygonSettings": { "fill": { "type": "Color", "value": "#8067dc" }, "__parse": true }, "__parse": true }, { "id": "CZ", "map": "czechiaLow", "polygonSettings": { "fill": { "type": "Color", "value": "#8067dc" }, "__parse": true }, "__parse": true }, { "id": "DE", "map": "germanyLow", "polygonSettings": { "fill": { "type": "Color", "value": "#8067dc" }, "__parse": true }, "__parse": true }, { "id": "DJ", "map": "djiboutiLow", "polygonSettings": { "fill": { "type": "Color", "value": "#67b7dc" }, "__parse": true }, "__parse": true }, { "id": "DK", "map": "denmarkLow", "polygonSettings": { "fill": { "type": "Color", "value": "#8067dc" }, "__parse": true }, "__parse": true }, { "id": "DM", "map": "dominicaLow", "polygonSettings": { "fill": { "type": "Color", "value": "#a367dc" }, "__parse": true }, "__parse": true }, { "id": "DO", "map": "dominicanRepublicLow", "polygonSettings": { "fill": { "type": "Color", "value": "#a367dc" }, "__parse": true }, "__parse": true }, { "id": "DZ", "map": "algeriaLow", "polygonSettings": { "fill": { "type": "Color", "value": "#67b7dc" }, "__parse": true }, "__parse": true }, { "id": "EC", "map": "ecuadorLow", "polygonSettings": { "fill": { "type": "Color", "value": "#dc67ce" }, "__parse": true }, "__parse": true }, { "id": "EE", "map": "estoniaLow", "polygonSettings": { "fill": { "type": "Color", "value": "#8067dc" }, "__parse": true }, "__parse": true }, { "id": "EG", "map": "egyptLow", "polygonSettings": { "fill": { "type": "Color", "value": "#67b7dc" }, "__parse": true }, "__parse": true }, { "id": "ER", "map": "eritreaLow", "polygonSettings": { "fill": { "type": "Color", "value": "#67b7dc" }, "__parse": true }, "__parse": true }, { "id": "ES", "map": "spainLow", "polygonSettings": { "fill": { "type": "Color", "value": "#8067dc" }, "__parse": true }, "__parse": true }, { "id": "ET", "map": "ethiopiaLow", "polygonSettings": { "fill": { "type": "Color", "value": "#67b7dc" }, "__parse": true }, "__parse": true }, { "id": "FI", "map": "finlandLow", "polygonSettings": { "fill": { "type": "Color", "value": "#8067dc" }, "__parse": true }, "__parse": true }, { "id": "FJ", "map": "fijiEastLow", "polygonSettings": { "fill": { "type": "Color", "value": "#c767dc" }, "__parse": true }, "__parse": true }, { "id": "FK", "map": "falklandIslandsLow", "polygonSettings": { "fill": { "type": "Color", "value": "#dc67ce" }, "__parse": true }, "__parse": true }, { "id": "FO", "map": "faroeIslandsLow", "polygonSettings": { "fill": { "type": "Color", "value": "#8067dc" }, "__parse": true }, "__parse": true }, { "id": "FR", "map": "franceLow", "polygonSettings": { "fill": { "type": "Color", "value": "#8067dc" }, "__parse": true }, "__parse": true }, { "id": "GA", "map": "gabonLow", "polygonSettings": { "fill": { "type": "Color", "value": "#67b7dc" }, "__parse": true }, "__parse": true }, { "id": "GB", "map": "ukLow", "polygonSettings": { "fill": { "type": "Color", "value": "#8067dc" }, "__parse": true }, "__parse": true }, { "id": "GB-CHA", "map": "channelIslandsLow", "polygonSettings": { "fill": { "type": "Color", "value": "#8067dc" }, "__parse": true }, "__parse": true }, { "id": "GD", "map": "grenadaLow", "polygonSettings": { "fill": { "type": "Color", "value": "#a367dc" }, "__parse": true }, "__parse": true }, { "id": "GE", "map": "georgiaLow", "polygonSettings": { "fill": { "type": "Color", "value": "#8067dc" }, "__parse": true }, "__parse": true }, { "id": "GF", "map": "frenchGuianaLow", "polygonSettings": { "fill": { "type": "Color", "value": "#dc67ce" }, "__parse": true }, "__parse": true }, { "id": "GH", "map": "ghanaLow", "polygonSettings": { "fill": { "type": "Color", "value": "#67b7dc" }, "__parse": true }, "__parse": true }, { "id": "GL", "map": "greenlandLow", "polygonSettings": { "fill": { "type": "Color", "value": "#a367dc" }, "__parse": true }, "__parse": true }, { "id": "GM", "map": "gambiaLow", "polygonSettings": { "fill": { "type": "Color", "value": "#67b7dc" }, "__parse": true }, "__parse": true }, { "id": "GN", "map": "guineaLow", "polygonSettings": { "fill": { "type": "Color", "value": "#67b7dc" }, "__parse": true }, "__parse": true }, { "id": "GP", "map": "guadeloupeLow", "polygonSettings": { "fill": { "type": "Color", "value": "#a367dc" }, "__parse": true }, "__parse": true }, { "id": "GQ", "map": "equatorialGuineaLow", "polygonSettings": { "fill": { "type": "Color", "value": "#67b7dc" }, "__parse": true }, "__parse": true }, { "id": "GR", "map": "greeceLow", "polygonSettings": { "fill": { "type": "Color", "value": "#8067dc" }, "__parse": true }, "__parse": true }, { "id": "GT", "map": "guatemalaLow", "polygonSettings": { "fill": { "type": "Color", "value": "#a367dc" }, "__parse": true }, "__parse": true }, { "id": "GU", "map": "guamLow", "polygonSettings": { "fill": { "type": "Color", "value": "#c767dc" }, "__parse": true }, "__parse": true }, { "id": "GW", "map": "guineaBissauLow", "polygonSettings": { "fill": { "type": "Color", "value": "#67b7dc" }, "__parse": true }, "__parse": true }, { "id": "GY", "map": "guyanaLow", "polygonSettings": { "fill": { "type": "Color", "value": "#dc67ce" }, "__parse": true }, "__parse": true }, { "id": "HK", "map": "hongKongLow", "polygonSettings": { "fill": { "type": "Color", "value": "#6771dc" }, "__parse": true }, "__parse": true }, { "id": "HN", "map": "hondurasLow", "polygonSettings": { "fill": { "type": "Color", "value": "#a367dc" }, "__parse": true }, "__parse": true }, { "id": "HR", "map": "croatiaLow", "polygonSettings": { "fill": { "type": "Color", "value": "#8067dc" }, "__parse": true }, "__parse": true }, { "id": "HT", "map": "haitiLow", "polygonSettings": { "fill": { "type": "Color", "value": "#a367dc" }, "__parse": true }, "__parse": true }, { "id": "HU", "map": "hungaryLow", "polygonSettings": { "fill": { "type": "Color", "value": "#8067dc" }, "__parse": true }, "__parse": true }, { "id": "ID", "map": "indonesiaLow", "polygonSettings": { "fill": { "type": "Color", "value": "#6771dc" }, "__parse": true }, "__parse": true }, { "id": "IE", "map": "irelandLow", "polygonSettings": { "fill": { "type": "Color", "value": "#8067dc" }, "__parse": true }, "__parse": true }, { "id": "IL", "map": "israelLow", "polygonSettings": { "fill": { "type": "Color", "value": "#6771dc" }, "__parse": true }, "__parse": true }, { "id": "IN", "map": "india2023Low", "polygonSettings": { "fill": { "type": "Color", "value": "#6771dc" }, "__parse": true }, "__parse": true }, { "id": "IO", "map": "britishIndianOceanTerritoryLow", "polygonSettings": { "fill": { "type": "Color", "value": "#6771dc" }, "__parse": true }, "__parse": true }, { "id": "IQ", "map": "iraqLow", "polygonSettings": { "fill": { "type": "Color", "value": "#6771dc" }, "__parse": true }, "__parse": true }, { "id": "IR", "map": "iranLow", "polygonSettings": { "fill": { "type": "Color", "value": "#6771dc" }, "__parse": true }, "__parse": true }, { "id": "IS", "map": "icelandLow", "polygonSettings": { "fill": { "type": "Color", "value": "#8067dc" }, "__parse": true }, "__parse": true }, { "id": "IT", "map": "italyLow", "polygonSettings": { "fill": { "type": "Color", "value": "#8067dc" }, "__parse": true }, "__parse": true }, { "id": "JE", "map": "channelIslandsLow", "polygonSettings": { "fill": { "type": "Color", "value": "#8067dc" }, "__parse": true }, "__parse": true }, { "id": "JM", "map": "jamaicaLow", "polygonSettings": { "fill": { "type": "Color", "value": "#a367dc" }, "__parse": true }, "__parse": true }, { "id": "JO", "map": "jordanLow", "polygonSettings": { "fill": { "type": "Color", "value": "#6771dc" }, "__parse": true }, "__parse": true }, { "id": "JP", "map": "japanLow", "polygonSettings": { "fill": { "type": "Color", "value": "#6771dc" }, "__parse": true }, "__parse": true }, { "id": "KE", "map": "kenyaLow", "polygonSettings": { "fill": { "type": "Color", "value": "#67b7dc" }, "__parse": true }, "__parse": true }, { "id": "KG", "map": "kyrgyzstanLow", "polygonSettings": { "fill": { "type": "Color", "value": "#6771dc" }, "__parse": true }, "__parse": true }, { "id": "KH", "map": "cambodiaLow", "polygonSettings": { "fill": { "type": "Color", "value": "#6771dc" }, "__parse": true }, "__parse": true }, { "id": "KM", "map": "comorosLow", "polygonSettings": { "fill": { "type": "Color", "value": "#67b7dc" }, "__parse": true }, "__parse": true }, { "id": "KP", "map": "northKoreaLow", "polygonSettings": { "fill": { "type": "Color", "value": "#6771dc" }, "__parse": true }, "__parse": true }, { "id": "KR", "map": "southKoreaLow", "polygonSettings": { "fill": { "type": "Color", "value": "#6771dc" }, "__parse": true }, "__parse": true }, { "id": "KN", "map": "stKittsNevisLow", "polygonSettings": { "fill": { "type": "Color", "value": "#a367dc" }, "__parse": true }, "__parse": true }, { "id": "KW", "map": "kuwaitLow", "polygonSettings": { "fill": { "type": "Color", "value": "#6771dc" }, "__parse": true }, "__parse": true }, { "id": "KY", "map": "caymanIslandsLow", "polygonSettings": { "fill": { "type": "Color", "value": "#a367dc" }, "__parse": true }, "__parse": true }, { "id": "KZ", "map": "kazakhstan2023Low", "polygonSettings": { "fill": { "type": "Color", "value": "#8067dc" }, "__parse": true }, "__parse": true }, { "id": "LA", "map": "laosLow", "polygonSettings": { "fill": { "type": "Color", "value": "#6771dc" }, "__parse": true }, "__parse": true }, { "id": "LB", "map": "lebanonLow", "polygonSettings": { "fill": { "type": "Color", "value": "#6771dc" }, "__parse": true }, "__parse": true }, { "id": "LC", "map": "saintLuciaLow", "polygonSettings": { "fill": { "type": "Color", "value": "#a367dc" }, "__parse": true }, "__parse": true }, { "id": "LI", "map": "liechtensteinLow", "polygonSettings": { "fill": { "type": "Color", "value": "#8067dc" }, "__parse": true }, "__parse": true }, { "id": "LK", "map": "sriLankaLow", "polygonSettings": { "fill": { "type": "Color", "value": "#6771dc" }, "__parse": true }, "__parse": true }, { "id": "LR", "map": "liberiaLow", "polygonSettings": { "fill": { "type": "Color", "value": "#67b7dc" }, "__parse": true }, "__parse": true }, { "id": "LS", "map": "lesothoLow", "polygonSettings": { "fill": { "type": "Color", "value": "#67b7dc" }, "__parse": true }, "__parse": true }, { "id": "LT", "map": "lithuaniaLow", "polygonSettings": { "fill": { "type": "Color", "value": "#8067dc" }, "__parse": true }, "__parse": true }, { "id": "LU", "map": "luxembourgLow", "polygonSettings": { "fill": { "type": "Color", "value": "#8067dc" }, "__parse": true }, "__parse": true }, { "id": "LV", "map": "latvia2021Low", "polygonSettings": { "fill": { "type": "Color", "value": "#8067dc" }, "__parse": true }, "__parse": true }, { "id": "LY", "map": "libyaLow", "polygonSettings": { "fill": { "type": "Color", "value": "#67b7dc" }, "__parse": true }, "__parse": true }, { "id": "MA", "map": "moroccoLow", "polygonSettings": { "fill": { "type": "Color", "value": "#67b7dc" }, "__parse": true }, "__parse": true }, { "id": "MD", "map": "moldovaLow", "polygonSettings": { "fill": { "type": "Color", "value": "#8067dc" }, "__parse": true }, "__parse": true }, { "id": "ME", "map": "montenegroLow", "polygonSettings": { "fill": { "type": "Color", "value": "#8067dc" }, "__parse": true }, "__parse": true }, { "id": "MG", "map": "madagascarProvinceLow", "polygonSettings": { "fill": { "type": "Color", "value": "#67b7dc" }, "__parse": true }, "__parse": true }, { "id": "MK", "map": "northMacedoniaLow", "polygonSettings": { "fill": { "type": "Color", "value": "#8067dc" }, "__parse": true }, "__parse": true }, { "id": "ML", "map": "maliLow", "polygonSettings": { "fill": { "type": "Color", "value": "#67b7dc" }, "__parse": true }, "__parse": true }, { "id": "MM", "map": "myanmarLow", "polygonSettings": { "fill": { "type": "Color", "value": "#6771dc" }, "__parse": true }, "__parse": true }, { "id": "MN", "map": "mongoliaLow", "polygonSettings": { "fill": { "type": "Color", "value": "#6771dc" }, "__parse": true }, "__parse": true }, { "id": "MP", "map": "northernMarianaLow", "polygonSettings": { "fill": { "type": "Color", "value": "#c767dc" }, "__parse": true }, "__parse": true }, { "id": "MQ", "map": "martiniqueLow", "polygonSettings": { "fill": { "type": "Color", "value": "#a367dc" }, "__parse": true }, "__parse": true }, { "id": "MR", "map": "mauritaniaLow", "polygonSettings": { "fill": { "type": "Color", "value": "#67b7dc" }, "__parse": true }, "__parse": true }, { "id": "MS", "map": "montserratLow", "polygonSettings": { "fill": { "type": "Color", "value": "#a367dc" }, "__parse": true }, "__parse": true }, { "id": "MT", "map": "maltaLow", "polygonSettings": { "fill": { "type": "Color", "value": "#8067dc" }, "__parse": true }, "__parse": true }, { "id": "MU", "map": "mauritiusLow", "polygonSettings": { "fill": { "type": "Color", "value": "#67b7dc" }, "__parse": true }, "__parse": true }, { "id": "MV", "map": "maldivesLow", "polygonSettings": { "fill": { "type": "Color", "value": "#6771dc" }, "__parse": true }, "__parse": true }, { "id": "MW", "map": "malawiLow", "polygonSettings": { "fill": { "type": "Color", "value": "#67b7dc" }, "__parse": true }, "__parse": true }, { "id": "MX", "map": "mexicoLow", "polygonSettings": { "fill": { "type": "Color", "value": "#a367dc" }, "__parse": true }, "__parse": true }, { "id": "MY", "map": "malaysiaLow", "polygonSettings": { "fill": { "type": "Color", "value": "#6771dc" }, "__parse": true }, "__parse": true }, { "id": "MZ", "map": "mozambiqueLow", "polygonSettings": { "fill": { "type": "Color", "value": "#67b7dc" }, "__parse": true }, "__parse": true }, { "id": "NA", "map": "namibiaLow", "polygonSettings": { "fill": { "type": "Color", "value": "#67b7dc" }, "__parse": true }, "__parse": true }, { "id": "NE", "map": "nigerLow", "polygonSettings": { "fill": { "type": "Color", "value": "#67b7dc" }, "__parse": true }, "__parse": true }, { "id": "NG", "map": "nigeriaLow", "polygonSettings": { "fill": { "type": "Color", "value": "#67b7dc" }, "__parse": true }, "__parse": true }, { "id": "NI", "map": "nicaraguaLow", "polygonSettings": { "fill": { "type": "Color", "value": "#a367dc" }, "__parse": true }, "__parse": true }, { "id": "NL", "map": "netherlandsLow", "polygonSettings": { "fill": { "type": "Color", "value": "#8067dc" }, "__parse": true }, "__parse": true }, { "id": "NO", "map": "norway2020Low", "polygonSettings": { "fill": { "type": "Color", "value": "#8067dc" }, "__parse": true }, "__parse": true }, { "id": "NP", "map": "nepal2020Low", "polygonSettings": { "fill": { "type": "Color", "value": "#6771dc" }, "__parse": true }, "__parse": true }, { "id": "NZ", "map": "newZealandLow", "polygonSettings": { "fill": { "type": "Color", "value": "#c767dc" }, "__parse": true }, "__parse": true }, { "id": "OM", "map": "omanLow", "polygonSettings": { "fill": { "type": "Color", "value": "#6771dc" }, "__parse": true }, "__parse": true }, { "id": "PA", "map": "panamaLow", "polygonSettings": { "fill": { "type": "Color", "value": "#a367dc" }, "__parse": true }, "__parse": true }, { "id": "PE", "map": "peruLow", "polygonSettings": { "fill": { "type": "Color", "value": "#dc67ce" }, "__parse": true }, "__parse": true }, { "id": "PH", "map": "philippinesLow", "polygonSettings": { "fill": { "type": "Color", "value": "#6771dc" }, "__parse": true }, "__parse": true }, { "id": "PK", "map": "pakistanLow", "polygonSettings": { "fill": { "type": "Color", "value": "#6771dc" }, "__parse": true }, "__parse": true }, { "id": "PL", "map": "polandLow", "polygonSettings": { "fill": { "type": "Color", "value": "#8067dc" }, "__parse": true }, "__parse": true }, { "id": "PM", "map": "stPierreMiquelonLow", "polygonSettings": { "fill": { "type": "Color", "value": "#a367dc" }, "__parse": true }, "__parse": true }, { "id": "PR", "map": "puertoRicoLow", "polygonSettings": { "fill": { "type": "Color", "value": "#a367dc" }, "__parse": true }, "__parse": true }, { "id": "PS", "map": "palestineLow", "polygonSettings": { "fill": { "type": "Color", "value": "#6771dc" }, "__parse": true }, "__parse": true }, { "id": "PT", "map": "portugalLow", "polygonSettings": { "fill": { "type": "Color", "value": "#8067dc" }, "__parse": true }, "__parse": true }, { "id": "PY", "map": "paraguayLow", "polygonSettings": { "fill": { "type": "Color", "value": "#dc67ce" }, "__parse": true }, "__parse": true }, { "id": "QA", "map": "qatarLow", "polygonSettings": { "fill": { "type": "Color", "value": "#6771dc" }, "__parse": true }, "__parse": true }, { "id": "RO", "map": "romaniaLow", "polygonSettings": { "fill": { "type": "Color", "value": "#8067dc" }, "__parse": true }, "__parse": true }, { "id": "RS", "map": "serbiaLow", "polygonSettings": { "fill": { "type": "Color", "value": "#8067dc" }, "__parse": true }, "__parse": true }, { "id": "RU", "map": "russiaLow", "polygonSettings": { "fill": { "type": "Color", "value": "#8067dc" }, "__parse": true }, "__parse": true }, { "id": "RW", "map": "rwandaLow", "polygonSettings": { "fill": { "type": "Color", "value": "#67b7dc" }, "__parse": true }, "__parse": true }, { "id": "SA", "map": "saudiArabiaLow", "polygonSettings": { "fill": { "type": "Color", "value": "#6771dc" }, "__parse": true }, "__parse": true }, { "id": "SB", "map": "solomonIslandsLow", "polygonSettings": { "fill": { "type": "Color", "value": "#c767dc" }, "__parse": true }, "__parse": true }, { "id": "SC", "map": "seychellesLow", "polygonSettings": { "fill": { "type": "Color", "value": "#67b7dc" }, "__parse": true }, "__parse": true }, { "id": "SD", "map": "sudanLow", "polygonSettings": { "fill": { "type": "Color", "value": "#67b7dc" }, "__parse": true }, "__parse": true }, { "id": "SE", "map": "swedenLow", "polygonSettings": { "fill": { "type": "Color", "value": "#8067dc" }, "__parse": true }, "__parse": true }, { "id": "SG", "map": "singaporeLow", "polygonSettings": { "fill": { "type": "Color", "value": "#6771dc" }, "__parse": true }, "__parse": true }, { "id": "SH", "map": "saintHelenaLow", "polygonSettings": { "fill": { "type": "Color", "value": "#67b7dc" }, "__parse": true }, "__parse": true }, { "id": "SI", "map": "sloveniaLow", "polygonSettings": { "fill": { "type": "Color", "value": "#8067dc" }, "__parse": true }, "__parse": true }, { "id": "SJ", "map": "svalbardLow", "polygonSettings": { "fill": { "type": "Color", "value": "#8067dc" }, "__parse": true }, "__parse": true }, { "id": "SK", "map": "slovakiaLow", "polygonSettings": { "fill": { "type": "Color", "value": "#8067dc" }, "__parse": true }, "__parse": true }, { "id": "SL", "map": "sierraLeoneLow", "polygonSettings": { "fill": { "type": "Color", "value": "#67b7dc" }, "__parse": true }, "__parse": true }, { "id": "SM", "map": "sanMarinoLow", "polygonSettings": { "fill": { "type": "Color", "value": "#8067dc" }, "__parse": true }, "__parse": true }, { "id": "SN", "map": "senegalLow", "polygonSettings": { "fill": { "type": "Color", "value": "#67b7dc" }, "__parse": true }, "__parse": true }, { "id": "SO", "map": "somaliaLow", "polygonSettings": { "fill": { "type": "Color", "value": "#67b7dc" }, "__parse": true }, "__parse": true }, { "id": "SR", "map": "surinameLow", "polygonSettings": { "fill": { "type": "Color", "value": "#dc67ce" }, "__parse": true }, "__parse": true }, { "id": "SS", "map": "southSudanLow", "polygonSettings": { "fill": { "type": "Color", "value": "#67b7dc" }, "__parse": true }, "__parse": true }, { "id": "ST", "map": "saoTomePrincipeLow", "polygonSettings": { "fill": { "type": "Color", "value": "#67b7dc" }, "__parse": true }, "__parse": true }, { "id": "SV", "map": "elSalvadorLow", "polygonSettings": { "fill": { "type": "Color", "value": "#a367dc" }, "__parse": true }, "__parse": true }, { "id": "SY", "map": "syriaLow", "polygonSettings": { "fill": { "type": "Color", "value": "#6771dc" }, "__parse": true }, "__parse": true }, { "id": "SZ", "map": "eswatiniLow", "polygonSettings": { "fill": { "type": "Color", "value": "#67b7dc" }, "__parse": true }, "__parse": true }, { "id": "TD", "map": "chadLow", "polygonSettings": { "fill": { "type": "Color", "value": "#67b7dc" }, "__parse": true }, "__parse": true }, { "id": "TG", "map": "togoLow", "polygonSettings": { "fill": { "type": "Color", "value": "#67b7dc" }, "__parse": true }, "__parse": true }, { "id": "TH", "map": "thailandLow", "polygonSettings": { "fill": { "type": "Color", "value": "#6771dc" }, "__parse": true }, "__parse": true }, { "id": "TJ", "map": "tajikistanLow", "polygonSettings": { "fill": { "type": "Color", "value": "#6771dc" }, "__parse": true }, "__parse": true }, { "id": "TL", "map": "timorLesteLow", "polygonSettings": { "fill": { "type": "Color", "value": "#6771dc" }, "__parse": true }, "__parse": true }, { "id": "TM", "map": "turkmenistanLow", "polygonSettings": { "fill": { "type": "Color", "value": "#6771dc" }, "__parse": true }, "__parse": true }, { "id": "TN", "map": "tunisiaLow", "polygonSettings": { "fill": { "type": "Color", "value": "#67b7dc" }, "__parse": true }, "__parse": true }, { "id": "TR", "map": "turkeyLow", "polygonSettings": { "fill": { "type": "Color", "value": "#8067dc" }, "__parse": true }, "__parse": true }, { "id": "TT", "map": "trinidadTobagoLow", "polygonSettings": { "fill": { "type": "Color", "value": "#a367dc" }, "__parse": true }, "__parse": true }, { "id": "TW", "map": "taiwanLow", "polygonSettings": { "fill": { "type": "Color", "value": "#6771dc" }, "__parse": true }, "__parse": true }, { "id": "TZ", "map": "tanzaniaLow", "polygonSettings": { "fill": { "type": "Color", "value": "#67b7dc" }, "__parse": true }, "__parse": true }, { "id": "UA", "map": "ukraineLow", "polygonSettings": { "fill": { "type": "Color", "value": "#8067dc" }, "__parse": true }, "__parse": true }, { "id": "UG", "map": "ugandaLow", "polygonSettings": { "fill": { "type": "Color", "value": "#67b7dc" }, "__parse": true }, "__parse": true }, { "id": "US", "map": "usaLow", "polygonSettings": { "fill": { "type": "Color", "value": "#a367dc" }, "__parse": true }, "__parse": true }, { "id": "UY", "map": "uruguayLow", "polygonSettings": { "fill": { "type": "Color", "value": "#dc67ce" }, "__parse": true }, "__parse": true }, { "id": "UZ", "map": "uzbekistanLow", "polygonSettings": { "fill": { "type": "Color", "value": "#6771dc" }, "__parse": true }, "__parse": true }, { "id": "VA", "map": "vaticanLow", "polygonSettings": { "fill": { "type": "Color", "value": "#8067dc" }, "__parse": true }, "__parse": true }, { "id": "VC", "map": "saintVincentLow", "polygonSettings": { "fill": { "type": "Color", "value": "#a367dc" }, "__parse": true }, "__parse": true }, { "id": "VE", "map": "venezuelaLow", "polygonSettings": { "fill": { "type": "Color", "value": "#dc67ce" }, "__parse": true }, "__parse": true }, { "id": "VG", "map": "britishVirginIslandsLow", "polygonSettings": { "fill": { "type": "Color", "value": "#a367dc" }, "__parse": true }, "__parse": true }, { "id": "VI", "map": "usVirginIslandsLow", "polygonSettings": { "fill": { "type": "Color", "value": "#a367dc" }, "__parse": true }, "__parse": true }, { "id": "VN", "map": "vietnamLow", "polygonSettings": { "fill": { "type": "Color", "value": "#6771dc" }, "__parse": true }, "__parse": true }, { "id": "WS", "map": "samoaLow", "polygonSettings": { "fill": { "type": "Color", "value": "#c767dc" }, "__parse": true }, "__parse": true }, { "id": "YE", "map": "yemenLow", "polygonSettings": { "fill": { "type": "Color", "value": "#6771dc" }, "__parse": true }, "__parse": true }, { "id": "ZA", "map": "southAfricaLow", "polygonSettings": { "fill": { "type": "Color", "value": "#67b7dc" }, "__parse": true }, "__parse": true }, { "id": "ZM", "map": "zambiaLow", "polygonSettings": { "fill": { "type": "Color", "value": "#67b7dc" }, "__parse": true }, "__parse": true }, { "id": "ZW", "map": "zimbabweLow", "polygonSettings": { "fill": { "type": "Color", "value": "#67b7dc" }, "__parse": true }, "__parse": true }, { "id": "XK", "map": "kosovoLow", "polygonSettings": { "fill": { "type": "Color", "value": "#8067dc" }, "__parse": true }, "__parse": true } ] }, { "data-1": [] }, { "series-0": { "type": "MapPolygonSeries", "settings": { "geoJSON": "am5geodata_worldLow", "exclude": [ "AQ" ] }, "properties": { "data": "#data-0", "mapPolygons": { "properties": { "template": { "settings": { "tooltipText": "{name}", "interactive": true, "fill": { "type": "Color", "value": "#aaaaaa" }, "templateField": "polygonSettings" }, "states": [ { "key": "hover", "settings": { "fill": { "type": "Color", "value": "#dc6967" } } } ] } } } } } }, { "series-1": { "type": "MapPolygonSeries", "settings": { "visible": false }, "properties": { "mapPolygons": { "properties": { "template": { "settings": { "tooltipText": "{name}", "interactive": true, "fill": { "type": "Color", "value": "#aaaaaa" } }, "states": [ { "key": "hover", "settings": { "fill": { "type": "Color", "value": "#dc6967" } } } ] } } } } } } ]}drill-down-to-countriesAnd another version of the same map with a zoom control.
/** * --------------------------------------- * This demo was created using amCharts 5. * * For more information visit: * https://www.amcharts.com/ * * Documentation is available at: * https://www.amcharts.com/docs/v5/ * --------------------------------------- */
var continents = { AF: 0, AN: 1, AS: 2, EU: 3, NA: 4, OC: 5, SA: 6};
// Create root element// https://www.amcharts.com/docs/v5/getting-started/#Root_elementvar root = am5.Root.new("chartdiv");var colors = am5.ColorSet.new(root, {});
// Set themes// https://www.amcharts.com/docs/v5/concepts/themes/root.setThemes([am5themes_Animated.new(root)]);
// Create the map chart// https://www.amcharts.com/docs/v5/charts/map-chart/var chart = root.container.children.push( am5map.MapChart.new(root, { panX: "rotateX", projection: am5map.geoMercator() }));
// Create polygon series for the world map// https://www.amcharts.com/docs/v5/charts/map-chart/map-polygon-series/var worldSeries = chart.series.push( am5map.MapPolygonSeries.new(root, { geoJSON: am5geodata_worldLow, exclude: ["AQ"] }));
worldSeries.mapPolygons.template.setAll({ tooltipText: "{name}", interactive: true, fill: am5.color(0xaaaaaa), templateField: "polygonSettings"});
worldSeries.mapPolygons.template.states.create("hover", { fill: colors.getIndex(9)});
var currentDataItem;worldSeries.mapPolygons.template.events.on("click", (ev) => { var dataItem = ev.target.dataItem; var data = dataItem.dataContext; var zoomAnimation = worldSeries.zoomToDataItem(dataItem);
currentDataItem = dataItem;
Promise.all([ zoomAnimation.waitForStop(), am5.net.load("https://cdn.amcharts.com/lib/5/geodata/json/" + data.map + ".json", chart) ]).then((results) => { var geodata = am5.JSONParser.parse(results[1].response); countrySeries.setAll({ geoJSON: geodata, fill: data.polygonSettings.fill });
countrySeries.show(); worldSeries.hide(100); backContainer.show();
chart.set("minZoomLevel", chart.get("zoomLevel")); });});
// Create polygon series for the country map// https://www.amcharts.com/docs/v5/charts/map-chart/map-polygon-series/var countrySeries = chart.series.push( am5map.MapPolygonSeries.new(root, { visible: false }));
countrySeries.mapPolygons.template.setAll({ tooltipText: "{name}", interactive: true, fill: am5.color(0xaaaaaa)});
countrySeries.mapPolygons.template.states.create("hover", { fill: colors.getIndex(9)});
// Set up data for countriesvar data = [];for (var id in am5geodata_data_countries2) { if (am5geodata_data_countries2.hasOwnProperty(id)) { var country = am5geodata_data_countries2[id]; if (country.maps.length) { data.push({ id: id, map: country.maps[0], polygonSettings: { fill: colors.getIndex(continents[country.continent_code]) } }); } }}worldSeries.data.setAll(data);
// Add button to go back to continents viewvar backContainer = chart.children.push( am5.Container.new(root, { x: am5.p100, centerX: am5.p100, dx: -10, paddingTop: 5, paddingRight: 10, paddingBottom: 5, y: 30, interactiveChildren: false, layout: root.horizontalLayout, cursorOverStyle: "pointer", background: am5.RoundedRectangle.new(root, { fill: am5.color(0xffffff), fillOpacity: 0.2 }),
visible: false }));
var backLabel = backContainer.children.push( am5.Label.new(root, { text: "Back to world map", centerY: am5.p50 }));
var backButton = backContainer.children.push( am5.Graphics.new(root, { width: 32, height: 32, centerY: am5.p50, fill: am5.color(0x555555), svgPath: "M16,1.466C7.973,1.466,1.466,7.973,1.466,16c0,8.027,6.507,14.534,14.534,14.534c8.027,0,14.534-6.507,14.534-14.534C30.534,7.973,24.027,1.466,16,1.466zM27.436,17.39c0.001,0.002,0.004,0.002,0.005,0.004c-0.022,0.187-0.054,0.37-0.085,0.554c-0.015-0.012-0.034-0.025-0.047-0.036c-0.103-0.09-0.254-0.128-0.318-0.115c-0.157,0.032,0.229,0.305,0.267,0.342c0.009,0.009,0.031,0.03,0.062,0.058c-1.029,5.312-5.709,9.338-11.319,9.338c-4.123,0-7.736-2.18-9.776-5.441c0.123-0.016,0.24-0.016,0.28-0.076c0.051-0.077,0.102-0.241,0.178-0.331c0.077-0.089,0.165-0.229,0.127-0.292c-0.039-0.064,0.101-0.344,0.088-0.419c-0.013-0.076-0.127-0.256,0.064-0.407s0.394-0.382,0.407-0.444c0.012-0.063,0.166-0.331,0.152-0.458c-0.012-0.127-0.152-0.28-0.24-0.318c-0.09-0.037-0.28-0.05-0.356-0.151c-0.077-0.103-0.292-0.203-0.368-0.178c-0.076,0.025-0.204,0.05-0.305-0.015c-0.102-0.062-0.267-0.139-0.33-0.189c-0.065-0.05-0.229-0.088-0.305-0.088c-0.077,0-0.065-0.052-0.178,0.101c-0.114,0.153,0,0.204-0.204,0.177c-0.204-0.023,0.025-0.036,0.141-0.189c0.113-0.152-0.013-0.242-0.141-0.203c-0.126,0.038-0.038,0.115-0.241,0.153c-0.203,0.036-0.203-0.09-0.076-0.115s0.355-0.139,0.355-0.19c0-0.051-0.025-0.191-0.127-0.191s-0.077-0.126-0.229-0.291c-0.092-0.101-0.196-0.164-0.299-0.204c-0.09-0.579-0.15-1.167-0.15-1.771c0-2.844,1.039-5.446,2.751-7.458c0.024-0.02,0.048-0.034,0.069-0.036c0.084-0.009,0.31-0.025,0.51-0.059c0.202-0.034,0.418-0.161,0.489-0.153c0.069,0.008,0.241,0.008,0.186-0.042C8.417,8.2,8.339,8.082,8.223,8.082S8.215,7.896,8.246,7.896c0.03,0,0.186,0.025,0.178,0.11C8.417,8.091,8.471,8.2,8.625,8.167c0.156-0.034,0.132-0.162,0.102-0.195C8.695,7.938,8.672,7.853,8.642,7.794c-0.031-0.06-0.023-0.136,0.14-0.153C8.944,7.625,9.168,7.708,9.16,7.573s0-0.28,0.046-0.356C9.253,7.142,9.354,7.09,9.299,7.065C9.246,7.04,9.176,7.099,9.121,6.972c-0.054-0.127,0.047-0.22,0.108-0.271c0.02-0.015,0.067-0.06,0.124-0.112C11.234,5.257,13.524,4.466,16,4.466c3.213,0,6.122,1.323,8.214,3.45c-0.008,0.022-0.01,0.052-0.031,0.056c-0.077,0.013-0.166,0.063-0.179-0.051c-0.013-0.114-0.013-0.331-0.102-0.203c-0.089,0.127-0.127,0.127-0.127,0.191c0,0.063,0.076,0.127,0.051,0.241C23.8,8.264,23.8,8.341,23.84,8.341c0.036,0,0.126-0.115,0.239-0.141c0.116-0.025,0.319-0.088,0.332,0.026c0.013,0.115,0.139,0.152,0.013,0.203c-0.128,0.051-0.267,0.026-0.293-0.051c-0.025-0.077-0.114-0.077-0.203-0.013c-0.088,0.063-0.279,0.292-0.279,0.292s-0.306,0.139-0.343,0.114c-0.04-0.025,0.101-0.165,0.203-0.228c0.102-0.064,0.178-0.204,0.14-0.242c-0.038-0.038-0.088-0.279-0.063-0.343c0.025-0.063,0.139-0.152,0.013-0.216c-0.127-0.063-0.217-0.14-0.318-0.178s-0.216,0.152-0.305,0.204c-0.089,0.051-0.076,0.114-0.191,0.127c-0.114,0.013-0.189,0.165,0,0.254c0.191,0.089,0.255,0.152,0.204,0.204c-0.051,0.051-0.267-0.025-0.267-0.025s-0.165-0.076-0.268-0.076c-0.101,0-0.229-0.063-0.33-0.076c-0.102-0.013-0.306-0.013-0.355,0.038c-0.051,0.051-0.179,0.203-0.28,0.152c-0.101-0.051-0.101-0.102-0.241-0.051c-0.14,0.051-0.279-0.038-0.355,0.038c-0.077,0.076-0.013,0.076-0.255,0c-0.241-0.076-0.189,0.051-0.419,0.089s-0.368-0.038-0.432,0.038c-0.064,0.077-0.153,0.217-0.19,0.127c-0.038-0.088,0.126-0.241,0.062-0.292c-0.062-0.051-0.33-0.025-0.367,0.013c-0.039,0.038-0.014,0.178,0.011,0.229c0.026,0.05,0.064,0.254-0.011,0.216c-0.077-0.038-0.064-0.166-0.141-0.152c-0.076,0.013-0.165,0.051-0.203,0.077c-0.038,0.025-0.191,0.025-0.229,0.076c-0.037,0.051,0.014,0.191-0.051,0.203c-0.063,0.013-0.114,0.064-0.254-0.025c-0.14-0.089-0.14-0.038-0.178-0.012c-0.038,0.025-0.216,0.127-0.229,0.012c-0.013-0.114,0.025-0.152-0.089-0.229c-0.115-0.076-0.026-0.076,0.127-0.025c0.152,0.05,0.343,0.075,0.622-0.013c0.28-0.089,0.395-0.127,0.28-0.178c-0.115-0.05-0.229-0.101-0.406-0.127c-0.179-0.025-0.42-0.025-0.7-0.127c-0.279-0.102-0.343-0.14-0.457-0.165c-0.115-0.026-0.813-0.14-1.132-0.089c-0.317,0.051-1.193,0.28-1.245,0.318s-0.128,0.19-0.292,0.318c-0.165,0.127-0.47,0.419-0.712,0.47c-0.241,0.051-0.521,0.254-0.521,0.305c0,0.051,0.101,0.242,0.076,0.28c-0.025,0.038,0.05,0.229,0.191,0.28c0.139,0.05,0.381,0.038,0.393-0.039c0.014-0.076,0.204-0.241,0.217-0.127c0.013,0.115,0.14,0.292,0.114,0.368c-0.025,0.077,0,0.153,0.09,0.14c0.088-0.012,0.559-0.114,0.559-0.114s0.153-0.064,0.127-0.166c-0.026-0.101,0.166-0.241,0.203-0.279c0.038-0.038,0.178-0.191,0.014-0.241c-0.167-0.051-0.293-0.064-0.115-0.216s0.292,0,0.521-0.229c0.229-0.229-0.051-0.292,0.191-0.305c0.241-0.013,0.496-0.025,0.444,0.051c-0.05,0.076-0.342,0.242-0.508,0.318c-0.166,0.077-0.14,0.216-0.076,0.292c0.063,0.076,0.09,0.254,0.204,0.229c0.113-0.025,0.254-0.114,0.38-0.101c0.128,0.012,0.383-0.013,0.42-0.013c0.039,0,0.216,0.178,0.114,0.203c-0.101,0.025-0.229,0.013-0.445,0.025c-0.215,0.013-0.456,0.013-0.456,0.051c0,0.039,0.292,0.127,0.19,0.191c-0.102,0.063-0.203-0.013-0.331-0.026c-0.127-0.012-0.203,0.166-0.241,0.267c-0.039,0.102,0.063,0.28-0.127,0.216c-0.191-0.063-0.331-0.063-0.381-0.038c-0.051,0.025-0.203,0.076-0.331,0.114c-0.126,0.038-0.076-0.063-0.242-0.063c-0.164,0-0.164,0-0.164,0l-0.103,0.013c0,0-0.101-0.063-0.114-0.165c-0.013-0.102,0.05-0.216-0.013-0.241c-0.064-0.026-0.292,0.012-0.33,0.088c-0.038,0.076-0.077,0.216-0.026,0.28c0.052,0.063,0.204,0.19,0.064,0.152c-0.14-0.038-0.317-0.051-0.419,0.026c-0.101,0.076-0.279,0.241-0.279,0.241s-0.318,0.025-0.318,0.102c0,0.077,0,0.178-0.114,0.191c-0.115,0.013-0.268,0.05-0.42,0.076c-0.153,0.025-0.139,0.088-0.317,0.102s-0.204,0.089-0.038,0.114c0.165,0.025,0.418,0.127,0.431,0.241c0.014,0.114-0.013,0.242-0.076,0.356c-0.043,0.079-0.305,0.026-0.458,0.026c-0.152,0-0.456-0.051-0.584,0c-0.127,0.051-0.102,0.305-0.064,0.419c0.039,0.114-0.012,0.178-0.063,0.216c-0.051,0.038-0.065,0.152,0,0.204c0.063,0.051,0.114,0.165,0.166,0.178c0.051,0.013,0.215-0.038,0.279,0.025c0.064,0.064,0.127,0.216,0.165,0.178c0.039-0.038,0.089-0.203,0.153-0.166c0.064,0.039,0.216-0.012,0.331-0.025s0.177-0.14,0.292-0.204c0.114-0.063,0.05-0.063,0.013-0.14c-0.038-0.076,0.114-0.165,0.204-0.254c0.088-0.089,0.253-0.013,0.292-0.115c0.038-0.102,0.051-0.279,0.151-0.267c0.103,0.013,0.243,0.076,0.331,0.076c0.089,0,0.279-0.14,0.332-0.165c0.05-0.025,0.241-0.013,0.267,0.102c0.025,0.114,0.241,0.254,0.292,0.279c0.051,0.025,0.381,0.127,0.433,0.165c0.05,0.038,0.126,0.153,0.152,0.254c0.025,0.102,0.114,0.102,0.128,0.013c0.012-0.089-0.065-0.254,0.025-0.242c0.088,0.013,0.191-0.026,0.191-0.026s-0.243-0.165-0.331-0.203c-0.088-0.038-0.255-0.114-0.331-0.241c-0.076-0.127-0.267-0.153-0.254-0.279c0.013-0.127,0.191-0.051,0.292,0.051c0.102,0.102,0.356,0.241,0.445,0.33c0.088,0.089,0.229,0.127,0.267,0.242c0.039,0.114,0.152,0.241,0.19,0.292c0.038,0.051,0.165,0.331,0.204,0.394c0.038,0.063,0.165-0.012,0.229-0.063c0.063-0.051,0.179-0.076,0.191-0.178c0.013-0.102-0.153-0.178-0.203-0.216c-0.051-0.038,0.127-0.076,0.191-0.127c0.063-0.05,0.177-0.14,0.228-0.063c0.051,0.077,0.026,0.381,0.051,0.432c0.025,0.051,0.279,0.127,0.331,0.191c0.05,0.063,0.267,0.089,0.304,0.051c0.039-0.038,0.242,0.026,0.294,0.038c0.049,0.013,0.202-0.025,0.304-0.05c0.103-0.025,0.204-0.102,0.191,0.063c-0.013,0.165-0.051,0.419-0.179,0.546c-0.127,0.127-0.076,0.191-0.202,0.191c-0.06,0-0.113,0-0.156,0.021c-0.041-0.065-0.098-0.117-0.175-0.097c-0.152,0.038-0.344,0.038-0.47,0.19c-0.128,0.153-0.178,0.165-0.204,0.114c-0.025-0.051,0.369-0.267,0.317-0.331c-0.05-0.063-0.355-0.038-0.521-0.038c-0.166,0-0.305-0.102-0.433-0.127c-0.126-0.025-0.292,0.127-0.418,0.254c-0.128,0.127-0.216,0.038-0.331,0.038c-0.115,0-0.331-0.165-0.331-0.165s-0.216-0.089-0.305-0.089c-0.088,0-0.267-0.165-0.318-0.165c-0.05,0-0.19-0.115-0.088-0.166c0.101-0.05,0.202,0.051,0.101-0.229c-0.101-0.279-0.33-0.216-0.419-0.178c-0.088,0.039-0.724,0.025-0.775,0.025c-0.051,0-0.419,0.127-0.533,0.178c-0.116,0.051-0.318,0.115-0.369,0.14c-0.051,0.025-0.318-0.051-0.433,0.013c-0.151,0.084-0.291,0.216-0.33,0.216c-0.038,0-0.153,0.089-0.229,0.28c-0.077,0.19,0.013,0.355-0.128,0.419c-0.139,0.063-0.394,0.204-0.495,0.305c-0.102,0.101-0.229,0.458-0.355,0.623c-0.127,0.165,0,0.317,0.025,0.419c0.025,0.101,0.114,0.292-0.025,0.471c-0.14,0.178-0.127,0.266-0.191,0.279c-0.063,0.013,0.063,0.063,0.088,0.19c0.025,0.128-0.114,0.255,0.128,0.369c0.241,0.113,0.355,0.217,0.418,0.367c0.064,0.153,0.382,0.407,0.382,0.407s0.229,0.205,0.344,0.293c0.114,0.089,0.152,0.038,0.177-0.05c0.025-0.09,0.178-0.104,0.355-0.104c0.178,0,0.305,0.04,0.483,0.014c0.178-0.025,0.356-0.141,0.42-0.166c0.063-0.025,0.279-0.164,0.443-0.063c0.166,0.103,0.141,0.241,0.23,0.332c0.088,0.088,0.24,0.037,0.355-0.051c0.114-0.09,0.064-0.052,0.203,0.025c0.14,0.075,0.204,0.151,0.077,0.267c-0.128,0.113-0.051,0.293-0.128,0.47c-0.076,0.178-0.063,0.203,0.077,0.278c0.14,0.076,0.394,0.548,0.47,0.638c0.077,0.088-0.025,0.342,0.064,0.495c0.089,0.151,0.178,0.254,0.077,0.331c-0.103,0.075-0.28,0.216-0.292,0.47s0.051,0.431,0.102,0.521s0.177,0.331,0.241,0.419c0.064,0.089,0.14,0.305,0.152,0.445c0.013,0.14-0.024,0.306,0.039,0.381c0.064,0.076,0.102,0.191,0.216,0.292c0.115,0.103,0.152,0.318,0.152,0.318s0.039,0.089,0.051,0.229c0.012,0.14,0.025,0.228,0.152,0.292c0.126,0.063,0.215,0.076,0.28,0.013c0.063-0.063,0.381-0.077,0.546-0.063c0.165,0.013,0.355-0.075,0.521-0.19s0.407-0.419,0.496-0.508c0.089-0.09,0.292-0.255,0.268-0.356c-0.025-0.101-0.077-0.203,0.024-0.254c0.102-0.052,0.344-0.152,0.356-0.229c0.013-0.077-0.09-0.395-0.115-0.457c-0.024-0.064,0.064-0.18,0.165-0.306c0.103-0.128,0.421-0.216,0.471-0.267c0.051-0.053,0.191-0.267,0.217-0.433c0.024-0.167-0.051-0.369,0-0.457c0.05-0.09,0.013-0.165-0.103-0.268c-0.114-0.102-0.089-0.407-0.127-0.457c-0.037-0.051-0.013-0.319,0.063-0.345c0.076-0.023,0.242-0.279,0.344-0.393c0.102-0.114,0.394-0.47,0.534-0.496c0.139-0.025,0.355-0.229,0.368-0.343c0.013-0.115,0.38-0.547,0.394-0.635c0.013-0.09,0.166-0.42,0.102-0.497c-0.062-0.076-0.559,0.115-0.622,0.141c-0.064,0.025-0.241,0.127-0.446,0.113c-0.202-0.013-0.114-0.177-0.127-0.254c-0.012-0.076-0.228-0.368-0.279-0.381c-0.051-0.012-0.203-0.166-0.267-0.317c-0.063-0.153-0.152-0.343-0.254-0.458c-0.102-0.114-0.165-0.38-0.268-0.559c-0.101-0.178-0.189-0.407-0.279-0.572c-0.021-0.041-0.045-0.079-0.067-0.117c0.118-0.029,0.289-0.082,0.31-0.009c0.024,0.088,0.165,0.279,0.19,0.419s0.165,0.089,0.178,0.216c0.014,0.128,0.14,0.433,0.19,0.47c0.052,0.038,0.28,0.242,0.318,0.318c0.038,0.076,0.089,0.178,0.127,0.369c0.038,0.19,0.076,0.444,0.179,0.482c0.102,0.038,0.444-0.064,0.508-0.102s0.482-0.242,0.635-0.255c0.153-0.012,0.179-0.115,0.368-0.152c0.191-0.038,0.331-0.177,0.458-0.28c0.127-0.101,0.28-0.355,0.33-0.444c0.052-0.088,0.179-0.152,0.115-0.253c-0.063-0.103-0.331-0.254-0.433-0.268c-0.102-0.012-0.089-0.178-0.152-0.178s-0.051,0.088-0.178,0.153c-0.127,0.063-0.255,0.19-0.344,0.165s0.026-0.089-0.113-0.203s-0.192-0.14-0.192-0.228c0-0.089-0.278-0.255-0.304-0.382c-0.026-0.127,0.19-0.305,0.254-0.19c0.063,0.114,0.115,0.292,0.279,0.368c0.165,0.076,0.318,0.204,0.395,0.229c0.076,0.025,0.267-0.14,0.33-0.114c0.063,0.024,0.191,0.253,0.306,0.292c0.113,0.038,0.495,0.051,0.559,0.051s0.33,0.013,0.381-0.063c0.051-0.076,0.089-0.076,0.153-0.076c0.062,0,0.177,0.229,0.267,0.254c0.089,0.025,0.254,0.013,0.241,0.179c-0.012,0.164,0.076,0.305,0.165,0.317c0.09,0.012,0.293-0.191,0.293-0.191s0,0.318-0.012,0.433c-0.014,0.113,0.139,0.534,0.139,0.534s0.19,0.393,0.241,0.482s0.267,0.355,0.267,0.47c0,0.115,0.025,0.293,0.103,0.293c0.076,0,0.152-0.203,0.24-0.331c0.091-0.126,0.116-0.305,0.153-0.432c0.038-0.127,0.038-0.356,0.038-0.444c0-0.09,0.075-0.166,0.255-0.242c0.178-0.076,0.304-0.292,0.456-0.407c0.153-0.115,0.141-0.305,0.446-0.305c0.305,0,0.278,0,0.355-0.077c0.076-0.076,0.151-0.127,0.19,0.013c0.038,0.14,0.254,0.343,0.292,0.394c0.038,0.052,0.114,0.191,0.103,0.344c-0.013,0.152,0.012,0.33,0.075,0.33s0.191-0.216,0.191-0.216s0.279-0.189,0.267,0.013c-0.014,0.203,0.025,0.419,0.025,0.545c0,0.053,0.042,0.135,0.088,0.21c-0.005,0.059-0.004,0.119-0.009,0.178C27.388,17.153,27.387,17.327,27.436,17.39zM20.382,12.064c0.076,0.05,0.102,0.127,0.152,0.203c0.052,0.076,0.14,0.05,0.203,0.114c0.063,0.064-0.178,0.14-0.075,0.216c0.101,0.077,0.151,0.381,0.165,0.458c0.013,0.076-0.279,0.114-0.369,0.102c-0.089-0.013-0.354-0.102-0.445-0.127c-0.089-0.026-0.139-0.343-0.025-0.331c0.116,0.013,0.141-0.025,0.267-0.139c0.128-0.115-0.189-0.166-0.278-0.191c-0.089-0.025-0.268-0.305-0.331-0.394c-0.062-0.089-0.014-0.228,0.141-0.331c0.076-0.051,0.279,0.063,0.381,0c0.101-0.063,0.203-0.14,0.241-0.165c0.039-0.025,0.293,0.038,0.33,0.114c0.039,0.076,0.191,0.191,0.141,0.229c-0.052,0.038-0.281,0.076-0.356,0c-0.075-0.077-0.255,0.012-0.268,0.152C20.242,12.115,20.307,12.013,20.382,12.064zM16.875,12.28c-0.077-0.025,0.025-0.178,0.102-0.229c0.075-0.051,0.164-0.178,0.241-0.305c0.076-0.127,0.178-0.14,0.241-0.127c0.063,0.013,0.203,0.241,0.241,0.318c0.038,0.076,0.165-0.026,0.217-0.051c0.05-0.025,0.127-0.102,0.14-0.165s0.127-0.102,0.254-0.102s0.013,0.102-0.076,0.127c-0.09,0.025-0.038,0.077,0.113,0.127c0.153,0.051,0.293,0.191,0.459,0.279c0.165,0.089,0.19,0.267,0.088,0.292c-0.101,0.025-0.406,0.051-0.521,0.038c-0.114-0.013-0.254-0.127-0.419-0.153c-0.165-0.025-0.369-0.013-0.433,0.077s-0.292,0.05-0.395,0.05c-0.102,0-0.228,0.127-0.253,0.077C16.875,12.534,16.951,12.306,16.875,12.28zM17.307,9.458c0.063-0.178,0.419,0.038,0.355,0.127C17.599,9.675,17.264,9.579,17.307,9.458zM17.802,18.584c0.063,0.102-0.14,0.431-0.254,0.407c-0.113-0.027-0.076-0.318-0.038-0.382C17.548,18.545,17.769,18.529,17.802,18.584zM13.189,12.674c0.025-0.051-0.039-0.153-0.127-0.013C13.032,12.71,13.164,12.725,13.189,12.674zM20.813,8.035c0.141,0.076,0.339,0.107,0.433,0.013c0.076-0.076,0.013-0.204-0.05-0.216c-0.064-0.013-0.104-0.115,0.062-0.203c0.165-0.089,0.343-0.204,0.534-0.229c0.19-0.025,0.622-0.038,0.774,0c0.152,0.039,0.382-0.166,0.445-0.254s-0.203-0.152-0.279-0.051c-0.077,0.102-0.444,0.076-0.521,0.051c-0.076-0.025-0.686,0.102-0.812,0.102c-0.128,0-0.179,0.152-0.356,0.229c-0.179,0.076-0.42,0.191-0.509,0.229c-0.088,0.038-0.177,0.19-0.101,0.216C20.509,7.947,20.674,7.959,20.813,8.035zM14.142,12.674c0.064-0.089-0.051-0.217-0.114-0.217c-0.12,0-0.178,0.191-0.103,0.254C14.002,12.776,14.078,12.763,14.142,12.674zM14.714,13.017c0.064,0.025,0.114,0.102,0.165,0.114c0.052,0.013,0.217,0,0.167-0.127s-0.167-0.127-0.204-0.127c-0.038,0-0.203-0.038-0.267,0C14.528,12.905,14.65,12.992,14.714,13.017zM11.308,10.958c0.101,0.013,0.217-0.063,0.305-0.101c0.088-0.038,0.216-0.114,0.216-0.229c0-0.114-0.025-0.216-0.077-0.267c-0.051-0.051-0.14-0.064-0.216-0.051c-0.115,0.02-0.127,0.14-0.203,0.14c-0.076,0-0.165,0.025-0.14,0.114s0.077,0.152,0,0.19C11.117,10.793,11.205,10.946,11.308,10.958zM11.931,10.412c0.127,0.051,0.394,0.102,0.292,0.153c-0.102,0.051-0.28,0.19-0.305,0.267s0.216,0.153,0.216,0.153s-0.077,0.089-0.013,0.114c0.063,0.025,0.102-0.089,0.203-0.089c0.101,0,0.304,0.063,0.406,0.063c0.103,0,0.267-0.14,0.254-0.229c-0.013-0.089-0.14-0.229-0.254-0.28c-0.113-0.051-0.241-0.28-0.317-0.331c-0.076-0.051,0.076-0.178-0.013-0.267c-0.09-0.089-0.153-0.076-0.255-0.14c-0.102-0.063-0.191,0.013-0.254,0.089c-0.063,0.076-0.14-0.013-0.217,0.012c-0.102,0.035-0.063,0.166-0.012,0.229C11.714,10.221,11.804,10.361,11.931,10.412zM24.729,17.198c-0.083,0.037-0.153,0.47,0,0.521c0.152,0.052,0.241-0.202,0.191-0.267C24.868,17.39,24.843,17.147,24.729,17.198zM20.114,20.464c-0.159-0.045-0.177,0.166-0.304,0.306c-0.128,0.141-0.267,0.254-0.317,0.241c-0.052-0.013-0.331,0.089-0.242,0.279c0.089,0.191,0.076,0.382-0.013,0.472c-0.089,0.088,0.076,0.342,0.052,0.482c-0.026,0.139,0.037,0.229,0.215,0.229s0.242-0.064,0.318-0.229c0.076-0.166,0.088-0.331,0.164-0.47c0.077-0.141,0.141-0.434,0.179-0.51c0.038-0.075,0.114-0.316,0.102-0.457C20.254,20.669,20.204,20.489,20.114,20.464zM10.391,8.802c-0.069-0.06-0.229-0.102-0.306-0.11c-0.076-0.008-0.152,0.06-0.321,0.06c-0.168,0-0.279,0.067-0.347,0C9.349,8.684,9.068,8.65,9.042,8.692C9.008,8.749,8.941,8.751,9.008,8.87c0.069,0.118,0.12,0.186,0.179,0.178s0.262-0.017,0.288,0.051C9.5,9.167,9.569,9.226,9.712,9.184c0.145-0.042,0.263-0.068,0.296-0.119c0.033-0.051,0.263-0.059,0.263-0.059S10.458,8.861,10.391,8.802z" }));
backContainer.events.on("click", function () { chart.set("minZoomLevel", 1); chart.goHome(); worldSeries.show(); countrySeries.hide(); backContainer.hide(); currentDataItem = undefined;});var zoomControl = chart.set("zoomControl", am5map.ZoomControl.new(root, {}));var homeButton = zoomControl.children.moveValue( am5.Button.new(root, { paddingTop: 10, paddingBottom: 10, icon: am5.Graphics.new(root, { svgPath: "M16,8 L14,8 L14,16 L10,16 L10,10 L6,10 L6,16 L2,16 L2,8 L0,8 L8,0 L16,8 Z M16,8", fill: am5.color(0xffffff) }) }),
0);homeButton.events.on("click", function () { if (currentDataItem) { countrySeries.zoomToDataItem(currentDataItem); } else { chart.goHome(); }});<div id="chartdiv"></div>body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";}
#chartdiv { width: 100%; height: 500px;}drill-down-to-countries-with-zoom-control