<script>alert("1")</script> - Enkät analys

Total Votes
1
Avg. Voting Time
2,5 sec
Poll Created
14.01.2021
Kommentarer
0
Sista 24 timmarna
-
röster
Sista 7 dagarna
-
röster
Dagligt genomsnitt
-
Röster/dag
Ledande val
-
Toppdag
-
Förlovning
-
Kommentarer per 100 röster

Röstningsaktivitet per timme

00:00 06:00 12:00 18:00 23:00
Rusningstid: -

Röstuppdelning efter dagar

Laddar diagramdata...

Vote Distribution Map

By Countries

Land Votes
Turkey 1

Per städer

Select a country to see cities

Total röstfördelning

Besökare Källa

Hänvisningsadress Votes
Direct 1

Poll Information

  • 1 users spent 2,5 seconds to vote this poll. The average voting time is 2,5 seconds.
  • There are 1 different sources of visits to this poll.
  • The poll has been opened for 5 år, 2 månader.
  • Survey security: IP.
  • Skapad av: @Anonymous
  • Enkäten har inget slutdatum.
Vote Page Result Page
Lastning...
", 1], ["", 0], ["", 0]]; if (pieData && pieData.length > 0) { c3.generate({ bindto: '#chart_2', size: { height: 300 }, data: { columns: pieData, type: 'pie' }, pie: { label: { format: function(value, ratio, id) { if (ratio < 0.05) return ''; return id && id.length > 12 ? id.substring(0, 10) + '..' : id; }, threshold: 0.05 } }, legend: { show: false }, tooltip: { format: { value: function(value, ratio, id) { return value + ' (' + (ratio * 100).toFixed(1) + '%)'; } } } }); // Custom legend createCustomLegend(pieData, '#chart_2_legend'); } } catch(e) { console.log('Pie chart error:', e); } // Custom scrollable legend function function createCustomLegend(data, targetSelector) { var container = document.querySelector(targetSelector); if (!container) return; var colors = ['#1f77b4', '#ff7f0e', '#2ca02c', '#d62728', '#9467bd', '#8c564b', '#e377c2', '#7f7f7f', '#bcbd22', '#17becf']; var total = data.reduce(function(sum, item) { return sum + item[1]; }, 0); var html = ''; data.forEach(function(item, i) { var name = item[0]; var value = item[1]; var percent = total > 0 ? ((value / total) * 100).toFixed(1) : 0; var color = colors[i % colors.length]; var shortName = name.length > 30 ? name.substring(0, 27) + '...' : name; html += '
' + '' + '' + shortName + '' + '' + percent + '%' + '
'; }); container.innerHTML = html; } // Map data var mapData = {'TR': 1}; // Initialize $(function() { // Load chart with default period loadChartData('month'); // Load extra stats loadExtraStats(); // Initialize world map $('#world-map').vectorMap({ map: 'world_mill_en', backgroundColor: 'transparent', onRegionClick: function(e, code) { if (typeof mapData[code] != 'undefined' && mapData[code] > 0) { getCities(code); } }, series: { regions: [{ values: mapData, scale: ['#2d4a5e', '#fccc2e'], normalizeFunction: 'polynomial' }] }, onRegionTipShow: function(e, el, code) { if (mapData[code]) { el.html(el.html() + ' (' + mapData[code].toLocaleString() + ' röster)'); } }, regionStyle: { initial: { fill: '#1f2f3c' }, hover: { fill: '#406079' } } }); }); // City/Country AJAX functions function getCities(index) { $(".city_list").show(); $("#select_a_country").hide(); var country_name = $("a[data-country-code='" + index + "']").attr("country-name"); if (country_name) $("#country_name").html(country_name); $("#city_name").html(""); $(".city_list .btn-go-back").removeAttr('data-country-code').hide(); $("#loading").show(); $("#sehirlerdiv").html(""); $("#country_detail_list").html(""); $(".left_country_list").hide(); $.ajax({ type: "GET", url: "/poll/sehirlerAjax", data: { 'cc': index, 'viewID': pollId }, success: function(data) { $.each(data.city, function(key, value) { var cityName = value.city || 'Okänd'; var cityReal = value.city; $("#sehirlerdiv").append( "" + cityName + "" + value.country__count.toLocaleString() + "" ); }); var totalInCountry = 0; $.each(data.national, function(key, value) { totalInCountry += parseInt(value.dcount); }); $(".country_details").show(); $.each(data.national, function(key, value) { $("#country_detail_list").append( "" + value.vote + "" + value.dcount.toLocaleString() + "" + ((value.dcount / totalInCountry) * 100).toFixed(1) + "%" ); }); $("#loading").hide(); }, error: function() { $("#loading").hide(); } }); } function AjaxGetStatics(index, countrycode) { $("#loading").show(); if (index) $("#city_name").html(index); $.ajax({ type: "GET", url: "/poll/getStaticsAjax", data: { 'city': index, 'cc': countrycode, 'viewID': pollId }, success: function(data) { $("#sehirlerdiv").html(""); $.each(data.bilgiler, function(key, value) { $("#sehirlerdiv").append( "" + value.vote + "" + value.vote__count.toLocaleString() + "" + ((value.vote__count / data.kacoy) * 100).toFixed(1) + "%" ); }); $(".btn-go-back").show().attr("data-country-code", countrycode); $("#loading").hide(); }, error: function() { $("#loading").hide(); } }); } function getRef(index) { $('#refyaz').html(''); $("#loading").show(); $.ajax({ type: "GET", url: "/poll/refererAjax", data: { 'refName': index, 'viewID': pollId }, success: function(data) { var total = 0; $.each(data, function(key, value) { total += parseInt(value.dcount); }); $.each(data, function(key, value) { $('#refyaz').append( "" + value.vote + "" + value.dcount.toLocaleString() + "" + ((value.dcount / total) * 100).toFixed(1) + "%" ); }); $("#loading").hide(); $("#ref_main_table_container").hide(); $("#ref_content_container").show(); }, error: function() { $("#loading").hide(); } }); } function goBack(page) { if (page === 'country_list') { $(".left_country_list").show(); $(".country_details").hide(); $("#country_name").html(""); $(".city_list").hide(); $("#select_a_country").show(); } else if (page === 'city_list') { var countryCode = $(".city_list .btn-go-back").attr('data-country-code'); $("#city_name").html(""); getCities(countryCode); } else if (page === 'ref_list') { $("#ref_content_container").hide(); $("#ref_main_table_container").show(); } }