{"id":844,"date":"2025-09-25T15:07:53","date_gmt":"2025-09-25T07:07:53","guid":{"rendered":"https:\/\/gorontalo.bkn.go.id\/blog\/?page_id=844"},"modified":"2025-10-30T12:55:39","modified_gmt":"2025-10-30T04:55:39","slug":"hasil-survey","status":"publish","type":"page","link":"https:\/\/gorontalo.bkn.go.id\/blog\/index.php\/hasil-survey\/","title":{"rendered":"Hasil Survey"},"content":{"rendered":"\n<meta charset=\"UTF-8\">\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n<title>Indeks Kepuasan Masyarakat Tahun 2025 &#8211; UPT BKN Gorontalo<\/title>\n<style>\n    \/* General Body Styles *\/\n    body {\n        font-family: Arial, sans-serif;\n        margin: 0;\n        padding: 0;\n        color: rgb(0, 0, 0); \/* Black text *\/\n    }\n\n    .container {\n        width: 80%;\n        margin: 0 auto;\n        padding: 20px;\n        text-align: center; \/* Center the text *\/\n    }\n\n    \/* Title and Heading Styles *\/\n    h1 {\n        font-size: 36px;\n        margin-bottom: 20px;\n    }\n\n    h2 {\n        font-size: 24px;\n        margin-bottom: 40px;\n    }\n\n    \/* Button Container *\/\n    .button-container {\n        margin-bottom: 40px;\n    }\n\n    button {\n        padding: 10px 20px;\n        margin: 10px;\n        font-size: 16px;\n        cursor: pointer;\n        border: none;\n        border-radius: 5px;\n        background-color: #28a745; \/* Green background for the button *\/\n        color: white;\n        transition: background-color 0.3s ease;\n    }\n\n    button:hover {\n        background-color: #218838; \/* Darker green on hover *\/\n    }\n\n    \/* Graph Container *\/\n    .graph-container {\n        margin-bottom: 40px;\n        text-align: center;\n    }\n\n    canvas {\n        max-width: 100%;\n        height: 400px;\n    }\n<\/style>\n\n<div class=\"container\">\n    <h1>Indeks Kepuasan Masyarakat Tahun 2025<\/h1>\n    <h2>Kepuasan masyarakat terhadap layanan fasilitasi seleksi dan konsultasi kepegawaian di UPT BKN Gorontalo<\/h2>\n    \n    <!-- Graphs container -->\n    <div class=\"graph-container\">\n        <canvas id=\"quarterlyGraph\"><\/canvas>\n        <h3>IKM Triwulan<\/h3>\n    <\/div>\n<\/div>\n\n<!-- Include Chart.js and Chart.js DataLabels Plugin from CDN -->\n<script src=\"https:\/\/cdn.jsdelivr.net\/npm\/chart.js\"><\/script>\n<script src=\"https:\/\/cdn.jsdelivr.net\/npm\/chartjs-plugin-datalabels\"><\/script>\n\n<script>\n    const data = [\n        { Tanggal: 23, Bulan: 'Januari', Kegiatan: 'Ujian Dinas dan Ujian Kenaikan Pangkat di Lingkungan BPK dan BKKBN', NilaiIKM: 87.08 },\n        { Tanggal: 22, Bulan: 'April', Kegiatan: 'Seleksi Kompetensi PPPK Tahap II', NilaiIKM: 88 },\n        { Tanggal: 27, Bulan: 'Mei', Kegiatan: 'Seleksi Ujian Dinas dan UPKP Kota Gorontalo', NilaiIKM: 92.13 },\n        { Tanggal: 12, Bulan: 'Juni', Kegiatan: 'Seleksi Ujian Dinas dan UPKP Kepolisian RI', NilaiIKM: 96.8 },\n        { Tanggal: 13, Bulan: 'Juni', Kegiatan: 'Seleksi Ujian Dinas dan UPKP Kab. Bone Bolango', NilaiIKM: 93.5 },\n        { Tanggal: 18, Bulan: 'Juni', Kegiatan: 'Ujian Dinas Tingkat I', NilaiIKM: 96.86 },\n        { Tanggal: 20, Bulan: 'Juni', Kegiatan: 'Ujian Penyesuaian Kenaikan Pangkat', NilaiIKM: 97.35 },\n        { Tanggal: 26, Bulan: 'Juni', Kegiatan: 'Ujian Dinas Kenaikan Pangkat', NilaiIKM: 95.7 },\n        { Tanggal: 9, Bulan: 'Juli', Kegiatan: 'Uji Kompetensi Mansoskul', NilaiIKM: 95.7 },\n        { Tanggal: 29, Bulan: 'Juli', Kegiatan: 'Ujian Dinas Kenaikan Pangkat', NilaiIKM: 95.79 },\n        { Tanggal: 1, Bulan: 'Agustus', Kegiatan: 'Seleksi Kompetensi HAM', NilaiIKM: 96.84 },\n        { Tanggal: 12, Bulan: 'Agustus', Kegiatan: 'SKD Sekolah Kedinasan T. A. 2025', NilaiIKM: 90.75 },\n        { Tanggal: 21, Bulan: 'Agustus', Kegiatan: 'Seleksi CACT Pemerintah Kota Gorontalo', NilaiIKM: 90.11 },\n        { Tanggal: 9, Bulan: 'September', Kegiatan: 'Seleksi UDKP Pemerintah Kab. Boalemo dan BNN', NilaiIKM: 93.73 }\n    ];\n\n    \/\/ Function to prepare data for chart\n    function prepareChartData(data, type) {\n        let labels = [];\n        let values = [];\n        if (type === 'quarterly') {\n            labels = ['Januari - Maret', 'April - Juni', 'Juli - September'];\n\n            \/\/ Calculate the average for each quarter\n            values = [\n                averageIKM(data.filter(d => ['Januari', 'Februari', 'Maret'].includes(d.Bulan))),\n                averageIKM(data.filter(d => ['April', 'Mei', 'Juni'].includes(d.Bulan))),\n                averageIKM(data.filter(d => ['Juli', 'Agustus', 'September'].includes(d.Bulan)))\n            ];\n        } else if (type === 'activity') {\n            labels = [...new Set(data.map(item => item.Kegiatan))];\n            values = labels.map(activity => averageIKM(data.filter(d => d.Kegiatan === activity)));\n        }\n        return { labels, values };\n    }\n\n    \/\/ Function to calculate the average IKM for a set of data, rounded to two decimals\n    function averageIKM(filteredData) {\n        if (filteredData.length === 0) return 0;\n        const sum = filteredData.reduce((acc, item) => acc + item.NilaiIKM, 0);\n        const average = sum \/ filteredData.length;\n        return average.toFixed(2); \/\/ Round to two decimal places\n    }\n\n    \/\/ Quarterly Graph\n    const quarterlyData = prepareChartData(data, 'quarterly');\n    new Chart(document.getElementById('quarterlyGraph'), {\n        type: 'line',\n        data: {\n            labels: quarterlyData.labels,\n            datasets: [{\n                label: 'IKM Triwulan',\n                data: quarterlyData.values,\n                borderColor: 'rgba(75, 192, 192, 1)',\n                borderWidth: 2,\n                fill: false\n            }]\n        },\n        options: {\n            responsive: true,\n            plugins: {\n                title: {\n                    display: true,\n                    text: 'IKM Triwulan'\n                },\n                datalabels: {\n                    display: true,\n                    align: 'top',\n                    backgroundColor: 'rgba(0, 0, 0, 0.2)',\n                    borderRadius: 3,\n                    font: {\n                        size: 14,\n                        weight: 'bold'\n                    },\n                    padding: 4\n                }\n            }\n        },\n        plugins: [ChartDataLabels]\n    });\n<\/script>\n\n","protected":false},"excerpt":{"rendered":"<p>Indeks Kepuasan Masyarakat Tahun 2025 &#8211; UPT BKN Gorontalo Indeks Kepuasan Masyarakat Tahun 2025 Kepuasan masyarakat terhadap layanan fasilitasi seleksi dan konsultasi kepegawaian di UPT BKN Gorontalo IKM Triwulan<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"https:\/\/gorontalo.bkn.go.id\/blog\/index.php\/wp-json\/wp\/v2\/pages\/844"}],"collection":[{"href":"https:\/\/gorontalo.bkn.go.id\/blog\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/gorontalo.bkn.go.id\/blog\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/gorontalo.bkn.go.id\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gorontalo.bkn.go.id\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=844"}],"version-history":[{"count":6,"href":"https:\/\/gorontalo.bkn.go.id\/blog\/index.php\/wp-json\/wp\/v2\/pages\/844\/revisions"}],"predecessor-version":[{"id":883,"href":"https:\/\/gorontalo.bkn.go.id\/blog\/index.php\/wp-json\/wp\/v2\/pages\/844\/revisions\/883"}],"wp:attachment":[{"href":"https:\/\/gorontalo.bkn.go.id\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=844"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}