Your IP : 3.15.147.225
<html>
<head>
<!--Load the AJAX API-->
<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
<script type="text/javascript">
google.charts.load('current', { 'packages': ['corechart'] });
function drawGID() {
var queryString = encodeURIComponent('\'Сводная таблица 1\'!A2:B19');
var query = new google.visualization.Query(
'https://drive.google.com/file/d/1iecj0vnPx_FyQgqbvmdJGTXh7zcueTCj/?tq=' + queryString);
query.send(handleQueryResponse);
}
function handleQueryResponse(response) {
if (response.isError()) {
alert('Error in query: ' + response.getMessage() + ' ' + response.getDetailedMessage());
return;
}
var data = response.getDataTable();
var chart = new google.visualization.ColumnChart(document.getElementById('chart_div'));
chart.draw(data, { height: 400 });
}
setTimeout(function() {
drawGID();
}, 1000);
</script>
</head>
<body>
<!--Div that will hold the pie chart-->
<div id="chart_div">a</div>
</body>
</html>