Open daijapan opened 6 months ago
Yes, there are plugins and tools available that allow you to create and embed local geo charts in Google Sheets. Here are a few options:
Google Sheets Add-ons:
Google Data Studio: Google Data Studio can connect to Google Sheets and allows you to create interactive dashboards and reports, including geo charts. You can use it to visualize your data on maps and embed the reports in your Google Sheets or other web pages.
Google Charts: Google Charts provides a GeoChart tool that you can use to create geo charts. You can use Google Apps Script to integrate Google Charts with Google Sheets and create custom visualizations.
Here's a brief overview of how to get started with each option:
Use the following script as a template to create a GeoChart:
function drawGeoChart() {
var sheet = SpreadsheetApp.getActiveSpreadsheet().getActiveSheet();
var data = sheet.getDataRange().getValues();
var chartData = [['Country', 'Value']];
for (var i = 1; i < data.length; i++) {
chartData.push([data[i][0], data[i][1]]);
}
var htmlOutput = HtmlService.createHtmlOutput()
.setContent('<html><body><div id="chart_div"></div><script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script><script type="text/javascript">google.charts.load("current", {packages:["geochart"]}); google.charts.setOnLoadCallback(drawRegionsMap); function drawRegionsMap() { var data = google.visualization.arrayToDataTable(' + JSON.stringify(chartData) + '); var options = {}; var chart = new google.visualization.GeoChart(document.getElementById("chart_div")); chart.draw(data, options); }</script></body></html>');
var ui = SpreadsheetApp.getUi();
ui.showModalDialog(htmlOutput, 'Geo Chart');
}
These tools should help you integrate local geo charts into your Google Sheets seamlessly. If you need more specific guidance on any of these options, feel free to ask!
appscript! wow
I created the first visulization using datawrapper https://datawrapper.dwcdn.net/u8XeI/2/
normalized one https://datawrapper.dwcdn.net/X4h0h/2/
this is good - datawrapper https://datawrapper.dwcdn.net/wMzPr/11/ since we are open source - we can use datawrapper public version https://www.datawrapper.de https://www.reddit.com/r/googlesheets/comments/y41huh/geochart_for_individual_state/