{"id":932,"date":"2025-09-16T21:33:52","date_gmt":"2025-09-16T19:33:52","guid":{"rendered":"http:\/\/www.medienrevolution.ch\/?p=932"},"modified":"2025-09-16T21:35:12","modified_gmt":"2025-09-16T19:35:12","slug":"vibe-coding-auslaendische-bevoelkerung-im-kanton-baselland","status":"publish","type":"post","link":"http:\/\/www.medienrevolution.ch\/?p=932","title":{"rendered":"Vibe-Coding: Ausl\u00e4ndische Bev\u00f6lkerung im Kanton Baselland"},"content":{"rendered":"\n<figure class=\"wp-block-image size-large\"><a href=\"http:\/\/www.medienrevolution.ch\/wp-content\/uploads\/2025\/09\/Gemini_Generated_Image_7nr5na7nr5na7nr5.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"559\" src=\"http:\/\/www.medienrevolution.ch\/wp-content\/uploads\/2025\/09\/Gemini_Generated_Image_7nr5na7nr5na7nr5-1024x559.png\" alt=\"\" class=\"wp-image-933\" srcset=\"http:\/\/www.medienrevolution.ch\/wp-content\/uploads\/2025\/09\/Gemini_Generated_Image_7nr5na7nr5na7nr5-1024x559.png 1024w, http:\/\/www.medienrevolution.ch\/wp-content\/uploads\/2025\/09\/Gemini_Generated_Image_7nr5na7nr5na7nr5-300x164.png 300w, http:\/\/www.medienrevolution.ch\/wp-content\/uploads\/2025\/09\/Gemini_Generated_Image_7nr5na7nr5na7nr5-768x419.png 768w, http:\/\/www.medienrevolution.ch\/wp-content\/uploads\/2025\/09\/Gemini_Generated_Image_7nr5na7nr5na7nr5-1536x838.png 1536w, http:\/\/www.medienrevolution.ch\/wp-content\/uploads\/2025\/09\/Gemini_Generated_Image_7nr5na7nr5na7nr5-2048x1117.png 2048w, http:\/\/www.medienrevolution.ch\/wp-content\/uploads\/2025\/09\/Gemini_Generated_Image_7nr5na7nr5na7nr5-1250x682.png 1250w, http:\/\/www.medienrevolution.ch\/wp-content\/uploads\/2025\/09\/Gemini_Generated_Image_7nr5na7nr5na7nr5-400x218.png 400w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>Ein kurzes Code Snippet, programmiert mit Gemini. Die Zahlen stammen vom <a href=\"https:\/\/www.baselland.ch\/politik-und-behorden\/direktionen\/sicherheitsdirektion\/amt_fuer_migration\/statistische-kennzahlen-zu-migration-integration-und-asyl\/struktur\">Kanton Baselland<\/a>. Das Titelbild wurde ebenfalls mit Gemini erstellt. Ist so m\u00e4ssig passend f\u00fcrs Baselbiet. <\/p>\n\n\n\n<style>\n\/* CSS for the container and font *\/\n.chart-container {\n    width: 100%;\n    max-width: 800px;\n    margin: 0 auto;\n    background-color: #fff;\n    padding: 20px;\n    border-radius: 8px;\n    box-shadow: 0 4px 6px rgba(0,0,0,0.1);\n}\n.chart-title {\n    color: #333;\n    text-align: center;\n    font-size: 1.5rem;\n    margin-bottom: 20px;\n    font-family: 'Inter', sans-serif;\n}\n<\/style>\n\n<link rel=\"preconnect\" href=\"https:\/\/fonts.googleapis.com\">\n<link rel=\"preconnect\" href=\"https:\/\/fonts.gstatic.com\" crossorigin>\n<link href=\"https:\/\/fonts.googleapis.com\/css2?family=Inter:wght@400;700&#038;display=swap\" rel=\"stylesheet\">\n\n<div class=\"chart-container\">\n    \n    <div id=\"apex-bar-chart\"><\/div>\n<\/div>\n\n<script src=\"https:\/\/cdn.jsdelivr.net\/npm\/apexcharts\"><\/script>\n<script>\n    document.addEventListener(\"DOMContentLoaded\", function() {\n        var options = {\n            chart: {\n                type: 'bar',\n                height: 500,\n                toolbar: {\n                    show: false\n                }\n            },\n            series: [{\n                name: 'Anzahl Bev\u00f6lkerung',\n                data: [17698, 15441, 14168, 11713, 7602, 5801, 3417, 2689, 165, 4]\n            }],\n            xaxis: {\n                categories: ['\u00dcbrige EU+EFTA', 'Deutschland', '\u00dcbrige Europa', 'Italien', 'Asien', 'T\u00fcrkiye', 'Afrika', 'Amerika', 'Ozeanien', 'Staatenlos oder Staat unbekannt'],\n                labels: {\n                    style: {\n                        fontSize: '12px',\n                        colors: '#666',\n                        fontFamily: 'Inter',\n                    },\n                },\n            },\n            title: {\n                \/\/ The larger title is removed, as requested\n                text: undefined\n            },\n            tooltip: {\n                y: {\n                    formatter: function (val) {\n                        return val.toLocaleString('de-CH') + ' Personen';\n                    }\n                }\n            },\n            dataLabels: {\n                enabled: false\n            },\n            plotOptions: {\n                bar: {\n                    horizontal: false,\n                    columnWidth: '70%',\n                    distributed: true\n                }\n            },\n            colors: ['#532075', '#c72d87', '#54a6b1', '#532075', '#c72d87', '#54a6b1', '#532075', '#c72d87', '#54a6b1', '#532075', '#c72d87'],\n            legend: {\n                show: false\n            },\n            states: {\n                hover: {\n                    filter: {\n                        type: 'lighten',\n                        value: 0.1,\n                    }\n                }\n            },\n            grid: {\n                show: false\n            }\n        };\n\n        var chart = new ApexCharts(document.querySelector(\"#apex-bar-chart\"), options);\n        chart.render();\n    });\n<\/script>\n","protected":false},"excerpt":{"rendered":"<p>Ein kurzes Code Snippet, programmiert mit Gemini. Die Zahlen stammen vom Kanton Baselland. Das Titelbild wurde ebenfalls mit Gemini erstellt. Ist so m\u00e4ssig passend f\u00fcrs Baselbiet.<\/p>\n","protected":false},"author":1,"featured_media":933,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,68],"tags":[72,71,70,69],"class_list":["post-932","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-allgemein","category-zahlensalat","tag-bevoelkerung","tag-bl","tag-opendata","tag-vibe-coding"],"_links":{"self":[{"href":"http:\/\/www.medienrevolution.ch\/index.php?rest_route=\/wp\/v2\/posts\/932","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.medienrevolution.ch\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.medienrevolution.ch\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.medienrevolution.ch\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.medienrevolution.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=932"}],"version-history":[{"count":1,"href":"http:\/\/www.medienrevolution.ch\/index.php?rest_route=\/wp\/v2\/posts\/932\/revisions"}],"predecessor-version":[{"id":934,"href":"http:\/\/www.medienrevolution.ch\/index.php?rest_route=\/wp\/v2\/posts\/932\/revisions\/934"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/www.medienrevolution.ch\/index.php?rest_route=\/wp\/v2\/media\/933"}],"wp:attachment":[{"href":"http:\/\/www.medienrevolution.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=932"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.medienrevolution.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=932"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.medienrevolution.ch\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=932"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}