Skip to content

Daily tracker of the AI/Data job market in Germany, Austria and Switzerland. 3,000+ live postings processed through a Databricks + Delta Lake pipeline, with links to the original listings. Free and open, published on GitHub Pages.

Add files via upload

Chrisinho8f64b943a042c
diff --git a/docs/app.js b/docs/app.js
index b34f449..bcb088b 100644
--- a/docs/app.js
+++ b/docs/app.js
@@ -81,6 +81,36 @@ const SKILL_CAT_LABEL = {
};
const scat = c => SKILL_CAT_LABEL[c] || String(c).replace(/_/g, " ");
+/* Skills are published as dictionary keys ("ai_agents", "powerbi").
+ Display names only; filters and searches keep the keys. */
+const SKILL_LABEL = {
+ ai_agents: "AI agents", ai_eval: "AI evaluation", airflow: "Airflow",
+ aws: "AWS", azure: "Azure", azureml: "Azure ML", bigquery: "BigQuery",
+ cicd: "CI/CD", cv: "Computer vision", databricks: "Databricks",
+ datawarehouse: "Data warehousing", dbt: "dbt",
+ deeplearning: "Deep learning", docker: "Docker",
+ elastic: "Elasticsearch", etl: "ETL", excel: "Excel",
+ featurestore: "Feature stores", finetuning: "Fine-tuning",
+ flink: "Flink", gcp: "Google Cloud", genai: "GenAI", git: "Git",
+ hadoop: "Hadoop", java: "Java", javascript: "JavaScript", jax: "JAX",
+ kafka: "Kafka", kubernetes: "Kubernetes", langchain: "LangChain",
+ llm: "LLMs", looker: "Looker", mssql: "SQL Server", mysql: "MySQL",
+ nlp: "NLP", openai_api: "OpenAI API", oracle: "Oracle", php: "PHP",
+ postgres: "PostgreSQL", powerbi: "Power BI",
+ prompting: "Prompt engineering", python: "Python", pytorch: "PyTorch",
+ qlik: "Qlik", r_lang: "R", rag: "RAG", redshift: "Redshift",
+ sagemaker: "SageMaker", sap: "SAP", sklearn: "scikit-learn",
+ snowflake: "Snowflake", spark: "Spark", sql: "SQL", ssis: "SSIS",
+ synapse: "Synapse", tableau: "Tableau", tensorflow: "TensorFlow",
+ terraform: "Terraform", vectordb: "Vector databases",
+ vertexai: "Vertex AI"
+};
+const slab = k => SKILL_LABEL[k] || String(k).replace(/_/g, " ");
+/* Generative-AI skills: the "genai" category of skill_demand.json,
+ which tops this list up when it loads. */
+const GENAI = new Set(["ai_agents", "llm", "genai", "prompting", "rag",
+ "openai_api", "ai_eval", "finetuning", "langchain", "vectordb"]);
+
const CNAME = { de: "Germany", at: "Austria", ch: "Switzerland" };
/* inline SVG flags: the emoji ones do not render on Windows */
const CFLAG = {
@@ -104,8 +134,67 @@ Chart.defaults.font.family =
Chart.defaults.color = SLATE;
Chart.defaults.borderColor = LINE;
-const get = f =>
- fetch(`data/${f}.json`).then(r => r.json()).catch(() => null);
+/* The page runs at html{zoom:.8} on desktop. Chart.js reads the mouse
+ from offsetX, which the browser reports in zoomed pixels, while the
+ chart lays itself out in unzoomed ones, so the hovered day drifted
+ left of the cursor (by a fifth of the chart at the right edge).
+ Re-derive the position from clientX and the canvas' on-screen box,
+ which always share one coordinate space, before Chart.js uses it.
+ Registered once, so it covers every chart on the page. */
+Chart.register({
+ id: "zoomSafePointer",
+ beforeEvent(chart, args) {
+ const e = args.event, n = e && e.native;
+ if (!n) return;
+ const p = n.touches && n.touches.length ? n.touches[0]
+ : n.changedTouches && n.changedTouches.length ? n.changedTouches[0] : n;
+ if (p.clientX == null) return;
+ const r = chart.canvas.getBoundingClientRect();
+ if (!r.width || !r.height) return;
+ e.x = (p.clientX - r.left) / r.width * chart.width;
+ e.y = (p.clientY - r.top) / r.height * chart.height;
+ if (typeof chart.isPointInArea === "function")
+ args.inChartArea = chart.isPointInArea(e);
+ }
+});
+
+/* Time charts hover the slot (day or week) under the cursor, even one
+ without data, instead of the nearest point that has some, which
+ jumped right across the October outage. */
+Chart.Interaction.modes.slot = (chart, e) => {
+ const x = chart.scales.x, a = chart.chartArea;
+ const n = chart.data.labels.length;
+ if (!x || !a || !n || e.x == null || e.x < a.left || e.x > a.right) return [];
+ const i = Math.max(0, Math.min(n - 1, Math.round(x.getValueForPixel(e.x))));
+ return chart.getSortedVisibleDatasetMetas()
+ .filter(m => m.data[i])
+ .map(m => ({ element: m.data[i], datasetIndex: m.index, index: i }));
+};
+/* tooltip at the hovered values, or at the cursor when there are none */
+Chart.Tooltip.positioners.slot = (items, pos) => {
+ const pts = items
+ .map(it => it.element && !it.element.skip ? it.element.tooltipPosition() : null)
+ .filter(q => q && isFinite(q.x) && isFinite(q.y));
+ if (pts.length) return {
+ x: pts.reduce((t, q) => t + q.x, 0) / pts.length,
+ y: pts.reduce((t, q) => t + q.y, 0) / pts.length };
+ return pos && isFinite(pos.x) ? { x: pos.x, y: pos.y } : false;
+};
+
+/* The email link is put together here, so the address never sits
+ in the HTML as plain text for spam bots to scrape. */
+document.querySelectorAll("a[data-mail]").forEach(a => {
+ const [u, d] = a.dataset.mail.split("|");
+ a.href = "mailto:" + u + "@" + d;
+ a.title = u + "@" + d;
+});
+
+/* One request per file: several blocks read the same JSON (history.json
+ alone is close to 1 MB), so the promise is shared. Readers must not
+ mutate what they get back. */
+const _got = {};
+const get = f => _got[f] || (_got[f] =
+ fetch(`data/${f}.json`).then(r => r.json()).catch(() => null));
const cyc = i => CATS[i % CATS.length];
const cap = s => String(s).charAt(0).toUpperCase() + String(s).slice(1);
@@ -206,8 +295,8 @@ function ds(label, data, colour) {
the container to the total. Adding a family makes the chart taller
instead of making it illegible. */
const ROW_LINE_PX = 15, /* one line of tick text */
- ROW_PAD_PX = 14, /* breathing room between rows */
- ROW_MIN_PX = 27, /* a single-line row still needs a bar */
+ ROW_PAD_PX = 11, /* breathing room between rows */
+ ROW_MIN_PX = 24, /* a single-line row still needs a bar */
CHART_CHROME_PX = 62; /* x axis ticks + axis title */
function fitHeight(labels, ax) {
@@ -238,7 +327,8 @@ function sizeBox(el, px) {
call site passes them. */
function bar(id, labels, datasets, horizontal, stacked, pct, ax) {
const el = document.getElementById(id);
- if (!el) return;
+ /* canvases only: "roles" is also a section id */
+ if (!el || el.tagName !== "CANVAS") return;
const t = s => ({ display: !!s, text: s || "",
font: { size: 11.5, weight: "600" }, color: SLATE });
ax = ax || {};
@@ -327,6 +417,122 @@ function ageColour(d) {
return DEEP;
}
+/* ---- days, weeks and pipeline gaps --------------------------------
+ Dates arrive as ISO strings, sometimes with a time part. Everything
+ here works on the first ten characters in UTC, so no timezone can
+ shift a day. Weeks run Monday to Sunday. */
+const MON3 = ["Jan", "Feb", "Mar", "Apr", "May", "Jun",
+ "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"];
+const WD3 = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"];
+const iso = s => String(s || "").slice(0, 10);
+const dayTs = s => Date.UTC(+s.slice(0, 4), +s.slice(5, 7) - 1, +s.slice(8, 10));
+const addDays = (s, n) => new Date(dayTs(s) + n * 864e5).toISOString().slice(0, 10);
+const fDay = s => `${+s.slice(8, 10)} ${MON3[+s.slice(5, 7) - 1]}`;
+const fDayW = s => `${WD3[new Date(dayTs(s)).getUTCDay()]} ${fDay(s)}`;
+const fRange = (a, b) => a === b ? fDay(a)
+ : a.slice(5, 7) === b.slice(5, 7) ? `${+a.slice(8, 10)}–${fDay(b)}`
+ : `${fDay(a)} – ${fDay(b)}`;
+const dayList = (a, b) => {
+ const out = [];
+ for (let d = a; d <= b; d = addDays(d, 1)) out.push(d);
+ return out;
+};
+const weekNo = s => Math.floor((dayTs(s) / 864e5 + 3) / 7); /* Mon-Sun */
+const mondayOf = s => addDays(s, -((new Date(dayTs(s)).getUTCDay() + 6) % 7));
+const isMonday = s => !!s && new Date(dayTs(s)).getUTCDay() === 1;
+const isoWeek = s => {
+ const t = new Date(dayTs(mondayOf(s)) + 3 * 864e5); /* Thursday */
+ return 1 + Math.floor((t - Date.UTC(t.getUTCFullYear(), 0, 1)) / 864e5 / 7);
+};
+
+/* Why the pipeline stopped. The gaps themselves are read off the run
+ history; this list only says why one happened, so every chart can
+ label it. Add an entry if it ever happens again. */
+const OUTAGES = [
+ { from: "2026-10-11", to: "2026-10-25", why: "account issues" }
+];
+const outageIn = (a, b) =>
+ OUTAGES.find(o => a <= o.to && b >= o.from) || null;
+const noRunLabel = o => `No runs ${fRange(o.from, o.to)} · due to ${o.why}`;
+
+/* Run history: history.json holds one set of rows per daily run, so
+ its snapshot dates are exactly the days the pipeline ran. Shared by
+ the trend, the new-postings chart and the run calendar. */
+const RUNS = get("history").then(h => {
+ if (!Array.isArray(h) || !h.length) return null;
+ const days = [...new Set(h.map(r => iso(r.snapshot_date)))].sort();
+ const set = new Set(days), first = days[0], last = days[days.length - 1];
+ const gaps = [];
+ let g = null;
+ dayList(first, last).forEach(d => {
+ if (set.has(d)) { g = null; return; }
+ if (!g) gaps.push(g = { from: d, to: d, n: 0 });
+ g.to = d;
+ g.n++;
+ });
+ gaps.forEach(x => x.outage = outageIn(x.from, x.to));
+ const ran = d => d < first || d > last || set.has(d);
+ const live = {};
+ h.forEach(r => {
+ if (r.metric === "live_postings" && r.dimension === "all")
+ live[iso(r.snapshot_date)] = r.value;
+ });
+ return { days, set, first, last, gaps, ran, live };
+});
+
+/* Shaded boxes for days without a pipeline run. A chart opts in with
+ plugins: [NO_RUN] and options.plugins.noRun.bands = [{ a, b, label }],
+ a and b being label indices. Painted before the grid so gridlines
+ stay on top; the label sits in the padding above the plot. */
+const NO_RUN_FILL = "#F2EADD";
+const NO_RUN = {
+ id: "noRun",
+ beforeDraw(chart, args, o) {
+ const bands = (o && o.bands) || [];
+ const x = chart.scales.x, a = chart.chartArea;
+ if (!bands.length || !x || !a) return;
+ const n = chart.data.labels.length;
+ const c = i => x.getPixelForValue(i);
+ const slot = n > 1 ? Math.abs(c(1) - c(0)) : a.right - a.left;
+ const ctx = chart.ctx;
+ ctx.save();
+ bands.forEach(b => {
+ const x0 = Math.max(a.left, c(b.a) - slot / 2);
+ const x1 = Math.min(a.right, c(b.b) + slot / 2);
+ if (x1 <= x0) return;
+ ctx.fillStyle = NO_RUN_FILL;
+ ctx.fillRect(x0, a.top, x1 - x0, a.bottom - a.top);
+ if (!b.label) return;
+ ctx.font = "600 12px Inter, system-ui, sans-serif";
+ ctx.fillStyle = "#4A453C";
+ ctx.textBaseline = "alphabetic";
+ const w = ctx.measureText(b.label).width;
+ const tx = Math.max(a.left, Math.min(a.right - w, (x0 + x1 - w) / 2));
+ ctx.fillText(b.label, tx, a.top - 8);
+ });
+ ctx.restore();
+ }
+};
+/* label keys -> bands: each run of keys that had no pipeline run.
+ span(k1, k2) turns the first and last key into a day range, so a
+ band that covers a known outage gets its reason as a label. */
+function noRunBands(keys, isGap, span) {
+ const out = [];
+ keys.forEach((k, i) => {
+ if (!isGap(k, i)) return;
+ const last = out[out.length - 1];
+ if (last && last.b === i - 1) last.b = i;
+ else out.push({ a: i, b: i });
+ });
+ out.forEach(b => {
+ const o = outageIn(...span(keys[b.a], keys[b.b]));
+ b.label = o ? noRunLabel(o) : "";
+ });
+ return out;
+}
+/* room above the plot for a band label */
+const bandPad = bands => ({ top: bands.some(b => b.label) ? 24 : 8 });
+
/* ---------------- header ---------------- */
@@ -549,6 +755,7 @@ Promise.all([get("market_summary"), get("role_breakdown")])
fill: true, tension: .25, pointRadius: 4,
pointBackgroundColor: CORAL }]},
options: {
+ aspectRatio: window.innerWidth < 600 ? 1.5 : 2.8,
plugins: { legend: { display: false },
tooltip: { callbacks: {
title: () => current === ALL ? ALL : rlab(current),
@@ -702,42 +909,183 @@ const GEO = {
"ch|thalwil":[8.56,47.29], "ch|kuesnacht":[8.58,47.32]
};
-const OUTLINES = {
- de: [[9.4,54.83],[8.6,54.90],[8.3,54.30],[8.5,53.90],[8.1,53.60],
- [8.6,53.55],[8.2,53.40],[7.2,53.40],[7.0,52.60],[6.7,52.40],
- [6.1,51.90],[5.95,51.80],[6.2,51.40],[6.0,50.90],[6.4,50.30],
- [6.1,50.10],[6.5,49.80],[6.35,49.45],[7.0,49.10],[7.6,49.05],
- [8.2,48.95],[7.6,48.60],[7.6,48.10],[8.0,47.70],[8.6,47.80],
- [9.2,47.65],[9.55,47.53],[10.1,47.30],[10.45,47.55],[10.9,47.50],
- [11.3,47.45],[12.2,47.70],[13.05,47.50],[13.05,47.90],
- [12.80,48.10],[13.40,48.40],[13.85,48.77],[13.55,48.95],
- [12.5,49.90],[12.1,50.30],[12.9,50.40],[14.4,50.90],[14.8,51.05],
- [15.0,51.30],[14.7,52.10],[14.55,52.60],[14.15,52.90],
- [14.4,53.30],[14.28,53.70],[13.8,53.90],[13.4,54.10],[12.5,54.50],
- [11.5,54.20],[11.0,54.40],[10.8,54.00],[10.2,54.40],[9.9,54.50]],
-
- at: [[9.55,47.53],[9.75,47.58],[10.1,47.30],[10.45,47.55],
- [10.9,47.50],[11.3,47.45],[12.2,47.70],[13.05,47.50],
- [13.05,47.90],[12.80,48.10],[13.40,48.40],[13.85,48.77],
- [14.05,48.60],[14.70,48.58],[15.00,49.02],[16.10,48.75],
- [16.95,48.55],[17.16,48.01],[16.88,47.70],[16.42,47.67],
- [16.52,47.00],[16.10,46.87],[15.00,46.65],[14.55,46.43],
- [13.70,46.52],[12.80,46.65],[12.15,47.09],[11.10,46.86],
- [10.45,46.87],[10.10,46.85],[9.60,47.06]],
-
- ch: [[9.55,47.53],[9.20,47.65],[8.60,47.80],[8.00,47.56],
- [7.45,47.50],[7.00,47.35],[6.80,47.00],[6.10,46.40],[6.15,46.20],
- [5.98,46.13],[6.80,46.10],[7.00,45.92],[8.10,46.10],[8.45,46.45],
- [8.60,46.10],[9.00,46.00],[9.30,46.50],[10.10,46.60],
- [10.45,46.87],[10.10,46.85],[9.60,47.06]]
+/* ---------------- map geometry ----------------
+ Borders are Natural Earth (public domain): the three countries, their
+ neighbours and the big lakes, pre-projected into a 600 x 727 frame
+ (Lambert azimuthal equal-area centred on 10.5°E 51.2°N), the same
+ frame as the 2 Nov results report. MAP_PLACES is that report's place
+ table (GeoNames coordinates, CC BY 4.0), keyed the way this page keys
+ cities, so districts and cantons get drawn at their main town. GEO
+ above is the fallback for any place MAP_PLACES does not know. */
+const MAP = {
+ w: 600, h: 727,
+ lab: {"de": [243, 350.9], "at": [470.7, 596.9], "ch": [116, 658.3]},
+ land: [
+ {id:"CHE",c:"ch",d:"M199.8,587.2L201.4,588.2L205,591.7L204.1,597.4L199.8,606.6L197.4,614.1L197.1,619.8L197.5,622.5L198.2,622.5L202.3,623L204.4,623L210.9,624.6L216.1,626.9L217.1,629.4L217.7,632.3L223.9,636.4L231.1,639L233.5,638.2L242.4,628.8L245.8,630.4L247.9,635.4L247.8,638L245.3,648L244.9,653.3L247,656.9L247.2,659.6L246.6,662.1L243.1,662.3L238.3,661L234.2,656.6L231.2,657.1L228.5,658.2L227.2,662.3L225.9,667.2L226.3,669.9L228.2,672L229.6,676.4L230.7,682.1L231.5,684.8L230.6,686L228,686.7L225.9,685.9L222.3,679.1L220.6,676.4L217.7,675.9L212.6,677.6L204.7,681.3L201.5,681.3L198.9,680.5L196.4,677.2L194.3,670.9L193.7,666.9L192.2,667L187.2,665.8L184.9,667.3L184.7,673.7L184.1,681.7L181.5,686.9L174.3,695.7L171.7,699.5L170.6,702.3L170.3,704.8L171.3,709L172.7,713L171.4,715.3L167.7,716.4L165.1,713.9L164.2,709.6L158.6,703.5L161.3,698.6L160.9,697.3L151.5,694.5L147.6,690.7L142.1,683.9L141.1,681.1L141.6,671.9L141.3,669.7L140.6,668.6L137.9,668.5L134,671.6L130.3,676.3L122.9,681.4L122.2,682.6L124.4,687.9L124.2,689.9L118.1,698.1L116.9,700.8L109.2,705.8L105.7,707.6L95.4,703.4L92.6,702.8L87.8,705.2L81.1,707.4L70.4,709.3L66.6,707.4L64.8,705.6L64,703L61.6,698.4L58.7,695.7L56.8,692.7L54.1,689.4L52.5,686.6L55.3,678.3L53.7,675.3L53,671L53.6,668.2L52.7,667.4L43.3,665.3L35.4,665.4L29.6,667.9L24.7,672.3L24.1,673.3L24.4,674.1L26.4,678.6L22.3,682.9L16.1,686L11.8,686.1L10,685.3L10.2,680.5L13.8,678.9L17.2,675.9L18.5,671.5L19.1,668.4L16,664.4L16.5,662.1L18.8,657.9L20.3,654L22.1,650.8L28.9,645.6L35.8,640.5L37.1,634.7L38,627.5L39,625.9L48,622.1L50.3,620.5L51.6,618.1L58.9,610.4L66.1,602.8L67.6,600.2L68.8,598.7L68.8,597.4L68,596.4L64.8,595.5L63.9,593L67.6,588.6L72.1,586.1L76.4,586.2L78,587.6L77.9,589.1L79.7,590.8L82.9,591.4L86.9,591L90.9,589.5L93.6,585.6L95.1,582.6L101.5,579.4L105.6,581.3L117.4,582.2L126.1,581.6L131.5,579.4L138.2,579.6L142.7,581L143.5,580.9L144.7,580.6L146,579.4L150.2,578.6L150.8,577.6L150.7,576.5L149.9,575.9L144.7,576.3L142.8,575.4L142.3,573.5L144.1,570.2L147.9,567.6L151.2,567L153.5,567.8L159,573L160.4,573.2L161.2,572.3L162.4,571.8L164.3,572.8L166.5,576L166.8,576.5L179.6,575.7L182.4,575.7L190.9,581.4Z"},
+ {id:"SVK",c:"",d:"M600,536.8L598.8,535.8L597.9,535.7L596.6,535L591.3,534.9L590,535.5L586.6,533.2L585.4,529.9L579.8,521.6L573.1,507.7L572.6,503.6L574.3,498.6L576,494.9L576,492L576.2,491.2L577.3,485.1L580.5,476.8L583.7,471.9L586.2,470.2L591.8,471L600,471.3L600,536.8Z"},
+ {id:"SVN",c:"",d:"M470.2,727L469.5,725L468.2,724.6L466.4,725.6L465.9,727L429.8,727L429.8,727L428.7,724.8L422.5,718.8L419.3,716.6L415,715.2L414.2,713.6L416.1,703.7L415.4,702.4L410.5,703L409.3,702.1L408.9,700.4L409.1,698L412.2,694.1L415.7,690.6L416.6,688.7L416.4,687.2L411.7,685.9L408.9,684.5L406.6,684L405.1,684.9L403.9,684L402.7,681.3L403.7,676.9L407.7,672.8L412,669.1L415.8,666.4L418,665.2L418.9,660.8L421.2,661.1L425.8,661.2L431,661.9L435.9,662.9L440.1,664.3L449.1,665.4L457.2,666L459.6,666.8L461.6,666.6L464.1,667.8L465.5,666.7L466.5,664.9L470.7,662.5L474.6,659.6L477.2,655.9L478.7,653.1L481.3,651L484.2,650.3L486.9,649.1L498.1,647.1L509.9,647.4L515.3,645.1L519.6,641.4L526.3,640L526.6,640L536.8,641.8L537.4,640.3L537.8,639.6L537.1,632.3L540,628.7L542.8,627.1L552.8,626.8L554.3,628.9L555.1,632.4L556.3,636.9L558.1,638.1L559.1,639.9L559.2,643.1L561.4,645.3L566.5,651.5L567.2,653.1L567.2,653.1L562.3,651.6L556.7,651.3L555.7,652.4L553.6,653.6L552.6,655.5L554,662.7L552.7,664L546.3,663.8L544.2,664.8L541.2,670.1L537.8,672.5L533.3,674.3L530.1,676.4L526,678.3L522.5,679.5L521.2,681.8L520.5,684.3L520.9,686.6L524.9,691L525.7,695.9L525.7,702L525.1,705.3L523.8,707.5L514.9,710.9L505.8,716.5L505.6,717.7L510.2,721.8L510.5,722.9L507.1,725.7L507,727L470.2,727Z"},
+ {id:"POL",c:"",d:"M600,372.9L599,372.6L597.3,371L596.8,369.6L600,367.8L600,372.9ZM600,358.9L599.1,359.7L594.4,361.7L589.9,362.8L587.7,363L574,354.8L565.4,352.7L560.5,352.3L560,353.3L562.7,358.4L567.1,364.5L567.1,366.3L562.7,369.3L560.2,370.7L557.3,373.2L555,376.6L552.8,378.2L550.8,378L548.6,376.7L542.5,367.5L535.3,360.6L534.4,359L532.2,358.8L529.2,357.4L528,355.2L529.3,352.7L531.2,350.4L534.6,348.8L535.6,347.4L536.1,345.5L537.3,343L536.8,342.1L534.1,339.5L530.1,337.2L519.8,340L517.1,341.6L515.3,339.9L513.9,337.3L511.2,337L507.5,334.9L503,332.8L498.8,332.4L489.9,329.6L486.5,329.6L484.5,328.5L482.3,326.1L480.4,323.4L479.2,317.7L472.6,315.4L466.2,314.2L465.8,315.1L466.4,320.8L466.3,324L462.2,326.1L458,326.6L458.2,325.6L462.6,314.8L464.4,308.1L466.2,295.9L462.6,286.6L461.5,282.2L459.9,280.2L451.1,276.1L450.3,274.5L451.3,268.2L450.5,265.6L448.2,262.9L445.2,257.5L443.9,252.9L447.1,247.1L447.7,243L448.9,237.4L449.8,234.3L449.9,233.4L447.6,231.4L446.8,228.4L447.2,224L445.8,220.8L442.7,218.8L440.6,216.2L439.5,212.7L439.9,207.2L441.8,199.7L436.4,191L423.8,181.2L417.7,174.2L418,170L420.3,166.1L424.7,162.4L427.8,156.2L429.4,149L429.4,147.6L429.2,142.5L422.9,121.9L421.8,116.8L420.8,110.5L420.4,108.8L431,112.7L435.5,114.9L434.8,112.2L433.8,109.8L434.1,106.2L433.6,100.9L424,98.7L417.8,98.1L416.9,94.5L417.4,92L419.2,93.4L425.3,93.6L439.8,85.6L464.9,74.8L491.6,64.2L497.9,62.8L504.2,60.4L506.3,57L508.5,54.6L511.8,48.6L519.2,39L533.3,34.5L538.3,29.8L549.1,22.9L574,13.8L584.5,11.3L594.9,10L600,12.2L600,358.9Z"},
+ {id:"NLD",c:"",d:"M0,162.7L14.3,153.4L18.9,144.7L23.1,140.8L39.2,133.6L48,131.7L61.3,131.9L70.9,131L82.4,131L86.6,136.3L88.9,140.1L92.9,142.3L99.2,144L98.5,151.2L97.9,165.6L97.4,168.1L94.2,174L90.6,184.7L89.5,191.8L88.5,193.2L76.2,192.5L74.4,193.7L74.1,195.2L74.6,197.1L74.2,198.9L73.2,200.3L73.6,202.7L75.6,205.5L79.4,207.4L83.6,207.7L85.7,207.5L87.2,209.5L88.6,212.6L88.3,216.3L87.5,221.2L85.3,225.8L79.3,230.8L76.6,232.6L74.2,233.4L73,234.8L72.3,236.5L72.4,238.1L76.2,242.6L76.1,243.5L74.8,245.7L73.1,247.7L62.3,251.5L58,250.9L55.4,253L54.6,253.3L51.9,251.2L45.9,248.5L43.5,249.2L42.2,250.4L38.2,251.7L35.3,253.9L35.1,257L39.5,265.2L41.2,266.9L41.1,269.8L43.2,273.7L45.4,278.5L45.5,281.5L45.1,284.5L43.5,288.7L38.6,298.4L38.5,300.3L38.8,301.8L40.2,302.3L41.3,303.1L40.9,304.4L32.4,310.8L31.3,312L27.9,311.4L27.3,312.5L27.6,314.4L28.9,316.2L31.7,317.2L34.1,319.1L35.9,322.7L32.5,334.3L32.5,334.3L27.6,333.8L23.1,333.4L20.7,332.8L18.2,331.5L18.2,331.5L17.1,329.1L15.9,326.1L16.4,324.4L21,319.7L21.7,318.3L21.3,317.5L21.9,315.4L25.7,308.1L26.3,305.2L25,303L22.9,301.6L16.2,298.9L13.1,295.6L11.8,292.8L10.3,291.9L8,292.7L2.3,293.3L0,292.4L0,162.7ZM60.8,124.5L54.2,126.8L52.7,126.1L53.2,125.4L58.8,124.1ZM42.2,127.4L33.1,128.1L30.1,127L29.7,126L32.2,125.7L39.8,126L42.1,126.9ZM0,136.2L0.3,136L4,136.4L4,136.4L0,138.7L0,136.2ZM14.3,131.2L10,131.5L8.2,130.3L18.6,128L25.2,127.5L26.3,128ZM79.3,120L75.1,120.1L76.4,118.1L80.3,116.8L82.4,116.9Z"},
+ {id:"LUX",c:"",d:"M35.6,382.7L35.1,384.7L34.9,389.2L36,393.9L39,398.6L41.3,402L44.6,404.8L50.2,407.6L52.4,408.3L52.6,411.7L51.9,415.2L49.8,417.1L47.8,419.8L46.2,423.2L44.4,429.7L43.9,434.3L40.7,432.2L39,430.8L36,430.3L32.9,431.2L30.5,433.4L27.4,433.9L24.8,433L23.4,431.2L22.1,430.2L18.3,428.8L16.8,426.1L18.2,425L19.4,423.2L20.5,420.6L21.8,418.3L18.4,411.4L17.8,409.3L14.9,405.3L15.1,403.4L15.9,401.6L15.8,400.2L16.4,396.9L18.8,393.9L20.5,390L23.2,384.8L29,378.7L32.7,379.9L34.4,380L35.3,382.4Z"},
+ {id:"LIE",c:"",d:"M202.3,623L198.2,622.5L197.5,622.5L197.1,619.8L197.4,614.1L199.8,606.6L200.2,607.8L200.5,609.4L200.9,611.1L201.1,613.2L202,615.3L203.5,617.3L203.9,619.2L203.1,621.6Z"},
+ {id:"ITA",c:"",d:"M424.7,727L417.5,718.3L413.8,718.5L409,723.3L395,719.2L392.4,721.2L390.6,725L388.6,727L57.7,727L57.7,727L56.4,724.8L52.6,721.6L51.9,719.2L51.9,716.2L52.9,713.6L60.3,709.8L64.8,705.6L64.8,705.6L66.6,707.4L70.4,709.3L81.1,707.4L87.8,705.2L92.6,702.8L95.4,703.4L105.7,707.6L109.2,705.8L116.9,700.8L118.1,698.1L124.2,689.9L124.4,687.9L122.2,682.6L122.9,681.4L130.3,676.3L134,671.6L137.9,668.5L140.6,668.6L141.3,669.7L141.6,671.9L141.1,681.1L142.1,683.9L147.6,690.7L151.5,694.5L160.9,697.3L161.3,698.6L158.6,703.5L164.2,709.6L165.1,713.9L167.7,716.4L171.4,715.3L172.7,713L171.3,709L170.3,704.8L170.6,702.3L171.7,699.5L174.3,695.7L181.5,686.9L184.1,681.7L184.7,673.7L184.9,667.3L187.2,665.8L192.2,667L193.7,666.9L194.3,670.9L196.4,677.2L198.9,680.5L201.5,681.3L204.7,681.3L212.6,677.6L217.7,675.9L220.6,676.4L222.3,679.1L225.9,685.9L228,686.7L230.6,686L231.5,684.8L230.7,682.1L229.6,676.4L228.2,672L226.3,669.9L225.9,667.2L227.2,662.3L228.5,658.2L231.2,657.1L234.2,656.6L238.3,661L243.1,662.3L246.6,662.1L247.2,659.6L247,656.9L244.9,653.3L245.3,648L247.8,638L249.2,638.8L254.4,638.9L260.2,639.4L263.9,643.5L267.5,644.8L272.7,645.3L276.1,644.7L277.8,643.1L279.8,638.3L283.4,632.4L289.2,629.3L299,628.7L303.9,627.5L309,627.5L312.9,628.3L316.9,628.2L326.9,623.9L337.3,620.4L338.7,620.9L339,622L337.2,624.5L335.4,627.9L336.7,631.7L342.9,639.1L346.3,644.9L349.4,649.2L354.3,651.4L360.6,652.6L365.9,652.9L371.5,654.4L390.8,657.9L400.4,658.6L407.7,658.5L418.9,660.8L418,665.2L415.8,666.4L412,669.1L407.7,672.8L403.7,676.9L402.7,681.3L403.9,684L405.1,684.9L406.6,684L408.9,684.5L411.7,685.9L416.4,687.2L416.6,688.7L415.7,690.6L412.2,694.1L409.1,698L408.9,700.4L409.3,702.1L410.5,703L415.4,702.4L416.1,703.7L414.2,713.6L415,715.2L419.3,716.6L422.5,718.8L428.7,724.8L429.8,727L424.7,727Z"},
+ {id:"HUN",c:"",d:"M600,676.4L596.4,674.7L591.1,670L586.9,663.8L579.9,658.5L570.1,654L567.2,653.1L566.5,651.5L561.4,645.3L559.2,643.1L559.1,639.9L558.1,638.1L556.3,636.9L555.1,632.4L554.3,628.9L552.8,626.8L542.8,627.1L550.5,618.2L554.4,615.5L559.3,615.6L560.7,614.7L561.1,613.5L561.7,610.7L561.9,608.1L562.1,605.7L561.4,604.4L559.1,604.1L557.5,598.3L558.5,596L559.6,594.3L557.5,587.2L557.8,584.8L561.5,584.1L564.4,582.3L566.8,580.3L567.3,578.1L569,573.4L566.6,568L555.7,565.2L555,563.9L557.4,562.1L559.8,559.7L561.2,557.8L563.2,557.4L566.2,558L571.7,561.6L573.7,562L575.5,560.7L577.5,560.3L583.2,559.9L587.9,558.6L586.4,554.4L586.2,551.3L585.2,548.9L585.4,546.1L587.2,543.8L587.3,539L590,535.5L591.3,534.9L596.6,535L597.9,535.7L598.8,535.8L600,536.8L600,676.4Z"},
+ {id:"DEU",c:"de",d:"M199.8,587.2L190.9,581.4L182.4,575.7L179.6,575.7L166.8,576.5L166.5,576L164.3,572.8L162.4,571.8L161.2,572.3L160.4,573.2L159,573L153.5,567.8L151.2,567L147.9,567.6L144.1,570.2L142.3,573.5L142.8,575.4L144.7,576.3L149.9,575.9L150.7,576.5L150.8,577.6L150.2,578.6L146,579.4L144.7,580.6L143.5,580.9L142.7,581L138.2,579.6L131.5,579.4L126.1,581.6L117.4,582.2L105.6,581.3L101.5,579.4L98.9,578.2L97.3,573L98,565.4L101.2,555.4L102.3,548.1L101.3,543.3L103.2,536.3L108.1,527L111.5,517.2L113.4,506.8L115.8,500.1L120.2,495.5L130.8,482.5L131.7,481.5L131.6,474.8L128.9,473.8L125,471.7L115,469L105.6,467.1L101.4,465.1L97.9,459.9L95.5,459.7L90.9,461.4L85.2,462.3L81.1,461.1L78.5,461.2L77,462L76.4,461.2L75.5,456.8L73.4,455.6L70.1,454.4L68,454.8L66.5,456.8L64.2,458.2L62.2,457.6L56.3,447.4L54.8,445.1L54.5,443L53.1,439.2L49.5,435.4L45.8,434L43.9,434.3L44.4,429.7L46.2,423.2L47.8,419.8L49.8,417.1L51.9,415.2L52.6,411.7L52.4,408.3L50.2,407.6L44.6,404.8L41.3,402L39,398.6L36,393.9L34.9,389.2L35.1,384.7L35.6,382.7L35.9,381.3L39,374.3L48.6,368.5L47.9,362L48,358.1L45.9,355.4L41.5,354.1L40.4,352.2L40,350.4L43.5,346.7L39.8,343.4L38.3,340.1L33,335.7L32.5,334.3L35.9,322.7L34.1,319.1L31.7,317.2L28.9,316.2L27.6,314.4L27.3,312.5L27.9,311.4L31.3,312L32.4,310.8L40.9,304.4L41.3,303.1L40.2,302.3L38.8,301.8L38.5,300.3L38.6,298.4L43.5,288.7L45.1,284.5L45.5,281.5L45.4,278.5L43.2,273.7L41.1,269.8L41.2,266.9L39.5,265.2L35.1,257L35.3,253.9L38.2,251.7L42.2,250.4L43.5,249.2L45.9,248.5L51.9,251.2L54.6,253.3L55.4,253L58,250.9L62.3,251.5L73.1,247.7L74.8,245.7L76.1,243.5L76.2,242.6L72.4,238.1L72.3,236.5L73,234.8L74.2,233.4L76.6,232.6L79.3,230.8L85.3,225.8L87.5,221.2L88.3,216.3L88.6,212.6L87.2,209.5L85.7,207.5L83.6,207.7L79.4,207.4L75.6,205.5L73.6,202.7L73.2,200.3L74.2,198.9L74.6,197.1L74.1,195.2L74.4,193.7L76.2,192.5L88.5,193.2L89.5,191.8L90.6,184.7L94.2,174L97.4,168.1L97.9,165.6L98.5,151.2L99.2,144L97.3,140.5L93,136.5L94.3,128.8L96.1,122.8L100.9,115.5L104.6,113.6L120.2,113.1L137.4,114.2L144.2,125.7L141.4,131.4L145.5,134.2L147.5,133.3L149.2,128.3L150.4,122.8L151.9,121.1L157.1,125.4L158.9,128.3L158.8,137.5L161.1,125.1L159.9,116.4L161.1,108L163.4,103.6L165.4,100.9L177.9,104.2L191.8,102.9L197,106.3L208.7,122.7L212.7,125.4L217.7,126.3L210.8,122.8L196.6,102.8L192.4,100.2L185.8,99.4L181.7,97.4L179.1,94.3L178.4,91.6L179,71.7L176.6,68.7L173.4,67.5L171.4,68.9L167.4,68.8L166.6,64.2L167.7,60.9L175.9,58.8L181.4,55.9L181.7,50.5L178.4,46.1L174.5,38.2L170,30.8L169.6,22.2L169.7,22.2L177.9,22.6L179.9,22.9L192.3,27.2L195.3,30.1L199.1,30.2L206.1,27.7L211.3,26.7L213.2,28.3L216.1,29L216.7,29L217,30.4L223.4,32.5L226.1,35.8L229.1,40.7L229.3,47.8L225.4,52.9L222.2,56.1L234.4,55L235.6,57.9L237.4,61.1L244.1,58.8L260.6,68.2L270.6,63.6L273.2,63.3L275.5,70.8L273.1,78.5L264.2,86.6L266.2,91.6L269.1,92.7L277.5,91.6L290.8,96.4L293.6,94.8L304.2,83.3L308.4,80.8L322.5,78.7L325,74.3L330.6,69.7L334.1,64.8L342.7,55.3L351.8,56.7L357.1,58.3L363,59L368.6,68.6L382.5,79L394.8,77.5L399.7,87.6L402.2,100.2L406.2,104L409.7,106.4L420,108.6L420.4,108.8L420.8,110.5L421.8,116.8L422.9,121.9L429.2,142.5L429.4,147.6L429.4,149L427.8,156.2L424.7,162.4L420.3,166.1L418,170L417.7,174.2L423.8,181.2L436.4,191L441.8,199.7L439.9,207.2L439.5,212.7L440.6,216.2L442.7,218.8L445.8,220.8L447.2,224L446.8,228.4L447.6,231.4L449.9,233.4L449.8,234.3L448.9,237.4L447.7,243L447.1,247.1L443.9,252.9L445.2,257.5L448.2,262.9L450.5,265.6L451.3,268.2L450.3,274.5L451.1,276.1L459.9,280.2L461.5,282.2L462.6,286.6L466.2,295.9L464.4,308.1L462.6,314.8L458.2,325.6L458,326.6L457.5,327.9L456.1,329.8L454.1,330.2L450.9,329L448.6,327.4L448.9,322.8L447.5,322.6L445.6,319.9L444.8,317L442.9,315.9L436.1,315L433.7,314.2L432,314.9L430.8,317.1L431.7,319L433.1,320.8L437,323.5L436.7,324.7L428.7,328L423.8,331.2L419.2,333L414.5,336.3L405.1,340.2L398.2,341.4L396.7,342.3L394.4,348.2L392.6,349.5L390.9,348.9L389.6,348L388,348.9L386.4,350.9L384.6,351.7L383.1,351.7L380.5,356.9L372.6,358.7L371.7,361.4L370.4,364.4L369.2,365.2L365.6,364.1L360.5,363.6L357.7,365.4L354.3,366.4L350.1,366.8L345.5,370.3L341,376.2L338.6,381.5L337.2,383.3L334.9,378.5L332,375.3L330,373.6L328.3,373.6L327.9,374.4L327.9,376.9L329.9,381.1L332.2,383.9L332.7,386L334,389.8L337.4,394L342.8,397.2L346.5,400.4L349.3,404.9L349.4,406.3L348.7,408.1L347.5,409.9L346.5,412.3L343.6,417L344.6,419L347,421.4L349.3,424.4L352.1,429.3L356.2,437.9L358.7,441.4L362.1,445L365.5,447.7L370.6,447.5L376.1,452.7L382.2,460.2L386.7,463.6L389.8,464.6L392.4,467.3L394.8,471.2L395.8,473.5L397.8,475.1L403.2,474.6L410.4,480.7L414.8,485.1L417.2,488.8L416.7,490.3L416.7,495L416.9,499.9L416.4,502.5L413.4,506.1L411.8,506.9L411,507.7L401.3,503.6L400.6,504.4L400,505L398,518.1L396.3,520.7L393.7,523.1L388.4,525.5L384.6,526.6L381.7,527.8L372.5,533.6L368.3,537L365.7,541.2L365.7,543.6L370.6,550.4L376.1,557.4L376.3,563.8L374.1,568.6L373.7,570.4L375.2,571.1L378.2,571.2L380.7,572L381.9,575.3L381.8,581.1L381.1,586.6L380.3,588.9L377.9,589.1L373.2,586.9L369.5,584.3L368.1,582.7L368,580.7L368.7,579.4L367.3,576.9L362.9,574.8L358.2,575.9L354.7,577.6L352.5,577.5L350,575.4L346.2,573.8L341.3,572.8L338.2,571.7L337.6,572.4L338.1,577.2L337.2,579.3L313.1,582.5L305.7,585.2L300.4,588.6L296.4,590.1L295.5,592.2L291.6,594.9L287.1,595.8L286.1,595L283.2,596.2L278.3,597.5L275.2,597.1L273.7,594.9L270.6,591.6L269.4,589.3L269.5,587.8L262.8,587.5L258.5,585.8L249.4,586.2L247.1,585.4L246.7,586.3L245.3,595.7L243.5,599.6L240.6,603.7L236.8,605.9L233.8,606.3L234,603.4L234.7,599.8L232.6,599L229.4,598.6L227.8,597.5L228.2,594.8L227.5,593.2L226.2,591.3L223,588.9L216.1,585.2L211.5,583.4L209.7,585.3L206.4,587.2L201.1,586.5ZM393.4,60L394.7,65.1L393.6,67.8L388.4,63.6L383.4,63.9L380.6,70.7L378.4,71.1L370.4,65.3L369,62.4L368.7,59.9L369.5,51.3L369.2,48.6L371.5,45.5L371.7,41.3L375.9,36.6L379.7,36.3L381,40.1L382.9,42.6L389.5,45.3L390.5,46.6L391.2,48.4L388.3,52.1L387.4,54L388.5,57ZM417.4,92L416.9,94.5L417.8,98.1L415.9,97.9L410.4,99.1L404.8,98.1L403.5,93.6L404.2,89.1L401.9,86.2L399.7,84.5L399.3,82L399.5,79.3L409.3,86ZM285.2,60.2L278.3,60.4L275.7,57.4L273,56.6L274.4,52.8L276.3,51.5L282.9,53.9L285,58.7ZM153.4,30.7L152.3,32.2L153.2,21.4L158.3,10L160.3,10.3L158.2,13.4L157.5,15.5L156.5,19.9L156.8,22.1L167.8,23.1L166.5,25L155.3,26.1ZM165.6,36.7L163.9,38.6L159.7,38.2L157.3,36.4L158.2,34.5L160.4,33.2L162.3,33L165.1,34Z"},
+ {id:"FRA",c:"",d:"M0,424.4L2.7,427.3L4.4,427.4L7.9,426.3L12.9,425.8L16.8,426.1L18.3,428.8L22.1,430.2L23.4,431.2L24.8,433L27.4,433.9L30.5,433.4L32.9,431.2L36,430.3L39,430.8L40.7,432.2L43.9,434.3L45.8,434L49.5,435.4L53.1,439.2L54.5,443L54.8,445.1L56.3,447.4L62.2,457.6L64.2,458.2L66.5,456.8L68,454.8L70.1,454.4L73.4,455.6L75.5,456.8L76.4,461.2L77,462L78.5,461.2L81.1,461.1L85.2,462.3L90.9,461.4L95.5,459.7L97.9,459.9L101.4,465.1L105.6,467.1L115,469L125,471.7L128.9,473.8L131.6,474.8L131.7,481.5L130.8,482.5L120.2,495.5L115.8,500.1L113.4,506.8L111.5,517.2L108.1,527L103.2,536.3L101.3,543.3L102.3,548.1L101.2,555.4L98,565.4L97.3,573L98.9,578.2L101.5,579.4L101.5,579.4L95.1,582.6L93.6,585.6L90.9,589.5L86.9,591L82.9,591.4L79.7,590.8L77.9,589.1L78,587.6L76.4,586.2L72.1,586.1L67.6,588.6L63.9,593L64.8,595.5L68,596.4L68.8,597.4L68.8,598.7L67.6,600.2L66.1,602.8L58.9,610.4L51.6,618.1L50.3,620.5L48,622.1L39,625.9L38,627.5L37.1,634.7L35.8,640.5L28.9,645.6L22.1,650.8L20.3,654L18.8,657.9L16.5,662.1L16,664.4L19.1,668.4L18.5,671.5L17.2,675.9L13.8,678.9L10.2,680.5L10,685.3L11.8,686.1L16.1,686L22.3,682.9L26.4,678.6L24.4,674.1L24.1,673.3L24.7,672.3L29.6,667.9L35.4,665.4L43.3,665.3L52.7,667.4L53.6,668.2L53,671L53.7,675.3L55.3,678.3L52.5,686.6L54.1,689.4L56.8,692.7L58.7,695.7L61.6,698.4L64,703L64.8,705.6L60.3,709.8L52.9,713.6L51.9,716.2L51.9,719.2L52.6,721.6L56.4,724.8L57.7,727L0,727Z"},
+ {id:"DNK",c:"",d:"M321.5,0L319.9,0.6L319,9.7L319.5,16.8L319.4,22L318.7,29.2L310.5,32.7L304.9,21.8L304.8,17.5L303.1,12.4L302.8,8L300.8,1.1L296,0L321.5,0ZM287.1,0L285.7,0.4L284.8,0L287.1,0ZM212.7,0L206.6,6.6L204.3,12.4L209.5,12.4L212.7,13.8L214.6,15.6L216.5,18.1L215.3,21.1L216.7,29L216.7,29L216.1,29L213.2,28.3L211.3,26.7L206.1,27.7L199.1,30.2L195.3,30.1L192.3,27.2L179.9,22.9L177.9,22.6L169.7,22.2L169.6,22.2L169.4,15.9L168.5,11.3L165.8,4.4L170.1,2.9L170,0L212.7,0ZM263.7,0L263.8,0.2L262.8,5.5L255.7,11.8L247.8,12.1L239.5,9L227.9,3.2L227,0L263.7,0ZM288.2,23.9L296.1,28.5L301.4,28.2L305,30.1L305.9,33.1L306.3,39.9L302.6,41.9L298.4,41.3L292.7,44L273.9,33.1L274.1,23.9L274.9,20.3L283.7,19.3ZM260.6,34.9L258.7,35.3L256,29.1L255.6,27.2L258.7,23.2L260.8,18.7L265.9,11.8L268.9,3.6L270,3.8L268.7,11L262,31.1ZM340.4,17.2L338.8,18.4L332,17.7L324.5,23.2L321.6,21.6L322.6,18.2L323.4,16.9L325.9,15.4L327.6,13.3L328.1,10L329.8,11.7L334.5,12.3L336.8,13.3L338.8,14.8ZM249.6,27.5L246.6,28.3L243.2,26.6L237.7,20.3L237.1,18.6L239.9,19.7L243.5,23L246.5,23.7L250.5,26.5ZM230.9,24.5L226.3,25.5L224,23.6L219.7,22.9L218.3,11.1L218.7,10.4L220.9,11.2L228.2,16.8L230.8,22.8ZM453.3,0L453.6,2.8L451.8,7.9L451.8,7.9L450.2,9.3L442.8,7.6L433.7,2.8L433.9,0L453.3,0Z"},
+ {id:"CZE",c:"",d:"M600,471.3L591.8,471L586.2,470.2L583.7,471.9L580.5,476.8L577.3,485.1L576.2,491.2L574.8,489.6L572,483.5L569.4,482.9L565.9,482.6L563.2,481.9L557.3,478.7L554.3,477.9L551,477.8L548,480.2L545.8,482.9L538.4,483.5L530.1,482.9L517.9,475.4L514.8,475.6L511.6,476.2L506.4,474.6L496.2,469.8L491.5,468.8L488.6,469.8L486.1,471.2L484.2,471.4L483,469.7L479.2,467.8L475.5,467.8L474.5,469.1L474,481.1L473,485.5L467.9,485.6L466.2,487.8L462.5,493.7L462.1,499.3L455.1,498.6L451.7,497.9L448.9,498.8L445.8,502L436.8,502.3L429.6,500.8L426.3,494.1L422.9,491.5L418.7,489.2L417.2,488.8L414.8,485.1L410.4,480.7L403.2,474.6L397.8,475.1L395.8,473.5L394.8,471.2L392.4,467.3L389.8,464.6L386.7,463.6L382.2,460.2L376.1,452.7L370.6,447.5L365.5,447.7L362.1,445L358.7,441.4L356.2,437.9L352.1,429.3L349.3,424.4L347,421.4L344.6,419L343.6,417L346.5,412.3L347.5,409.9L348.7,408.1L349.4,406.3L349.3,404.9L346.5,400.4L342.8,397.2L337.4,394L334,389.8L332.7,386L332.2,383.9L329.9,381.1L327.9,376.9L327.9,374.4L328.3,373.6L330,373.6L332,375.3L334.9,378.5L337.2,383.3L338.6,381.5L341,376.2L345.5,370.3L350.1,366.8L354.3,366.4L357.7,365.4L360.5,363.6L365.6,364.1L369.2,365.2L370.4,364.4L371.7,361.4L372.6,358.7L380.5,356.9L383.1,351.7L384.6,351.7L386.4,350.9L388,348.9L389.6,348L390.9,348.9L392.6,349.5L394.4,348.2L396.7,342.3L398.2,341.4L405.1,340.2L414.5,336.3L419.2,333L423.8,331.2L428.7,328L436.7,324.7L437,323.5L433.1,320.8L431.7,319L430.8,317.1L432,314.9L433.7,314.2L436.1,315L442.9,315.9L444.8,317L445.6,319.9L447.5,322.6L448.9,322.8L448.6,327.4L450.9,329L454.1,330.2L456.1,329.8L457.5,327.9L458,326.6L462.2,326.1L466.3,324L466.4,320.8L465.8,315.1L466.2,314.2L472.6,315.4L479.2,317.7L480.4,323.4L482.3,326.1L484.5,328.5L486.5,329.6L489.9,329.6L498.8,332.4L503,332.8L507.5,334.9L511.2,337L513.9,337.3L515.3,339.9L517.1,341.6L519.8,340L530.1,337.2L534.1,339.5L536.8,342.1L537.3,343L536.1,345.5L535.6,347.4L534.6,348.8L531.2,350.4L529.3,352.7L528,355.2L529.2,357.4L532.2,358.8L534.4,359L535.3,360.6L542.5,367.5L548.6,376.7L550.8,378L552.8,378.2L555,376.6L557.3,373.2L560.2,370.7L562.7,369.3L567.1,366.3L567.1,364.5L562.7,358.4L560,353.3L560.5,352.3L565.4,352.7L574,354.8L587.7,363L589.9,362.8L594.4,361.7L599.1,359.7L600,358.9L600,367.8L600,367.8L596.8,369.6L597.3,371L599,372.6L600,372.9L600,471.3Z"},
+ {id:"HRV",c:"",d:"M465.9,727L466.4,725.6L468.2,724.6L469.5,725L470.2,727L465.9,727ZM507,727L507.1,725.7L510.5,722.9L510.2,721.8L505.6,717.7L505.8,716.5L514.9,710.9L523.8,707.5L525.1,705.3L525.7,702L525.7,695.9L524.9,691L520.9,686.6L520.5,684.3L521.2,681.8L522.5,679.5L526,678.3L530.1,676.4L533.3,674.3L537.8,672.5L541.2,670.1L544.2,664.8L546.3,663.8L552.7,664L554,662.7L552.6,655.5L553.6,653.6L555.7,652.4L556.7,651.3L562.3,651.6L567.2,653.1L570.1,654L579.9,658.5L586.9,663.8L591.1,670L596.4,674.7L600,676.4L600,727Z"},
+ {id:"BEL",c:"",d:"M0,292.4L2.3,293.3L8,292.7L10.3,291.9L11.8,292.8L13.1,295.6L16.2,298.9L22.9,301.6L25,303L26.3,305.2L25.7,308.1L21.9,315.4L21.3,317.5L21.7,318.3L21,319.7L16.4,324.4L15.9,326.1L17.1,329.1L18.2,331.5L18.2,331.5L20.7,332.8L23.1,333.4L27.6,333.8L32.5,334.3L33,335.7L38.3,340.1L39.8,343.4L43.5,346.7L40,350.4L40.4,352.2L41.5,354.1L45.9,355.4L48,358.1L47.9,362L48.6,368.5L39,374.3L35.9,381.3L35.6,382.7L35.3,382.4L34.4,380L32.7,379.9L29,378.7L23.2,384.8L20.5,390L18.8,393.9L16.4,396.9L15.8,400.2L15.9,401.6L15.1,403.4L14.9,405.3L17.8,409.3L18.4,411.4L21.8,418.3L20.5,420.6L19.4,423.2L18.2,425L16.8,426.1L12.9,425.8L7.9,426.3L4.4,427.4L2.7,427.3L0,424.4L0,292.4Z"},
+ {id:"AUT",c:"at",d:"M199.8,606.6L204.1,597.4L205,591.7L201.4,588.2L199.8,587.2L201.1,586.5L206.4,587.2L209.7,585.3L211.5,583.4L216.1,585.2L223,588.9L226.2,591.3L227.5,593.2L228.2,594.8L227.8,597.5L229.4,598.6L232.6,599L234.7,599.8L234,603.4L233.8,606.3L236.8,605.9L240.6,603.7L243.5,599.6L245.3,595.7L246.7,586.3L247.1,585.4L249.4,586.2L258.5,585.8L262.8,587.5L269.5,587.8L269.4,589.3L270.6,591.6L273.7,594.9L275.2,597.1L278.3,597.5L283.2,596.2L286.1,595L287.1,595.8L291.6,594.9L295.5,592.2L296.4,590.1L300.4,588.6L305.7,585.2L313.1,582.5L337.2,579.3L338.1,577.2L337.6,572.4L338.2,571.7L341.3,572.8L346.2,573.8L350,575.4L352.5,577.5L354.7,577.6L358.2,575.9L362.9,574.8L367.3,576.9L368.7,579.4L368,580.7L368.1,582.7L369.5,584.3L373.2,586.9L377.9,589.1L380.3,588.9L381.1,586.6L381.8,581.1L381.9,575.3L380.7,572L378.2,571.2L375.2,571.1L373.7,570.4L374.1,568.6L376.3,563.8L376.1,557.4L370.6,550.4L365.7,543.6L365.7,541.2L368.3,537L372.5,533.6L381.7,527.8L384.6,526.6L388.4,525.5L393.7,523.1L396.3,520.7L398,518.1L400,505L400.6,504.4L401.3,503.6L411,507.7L411.8,506.9L413.4,506.1L416.4,502.5L416.9,499.9L416.7,495L416.7,490.3L417.2,488.8L418.7,489.2L422.9,491.5L426.3,494.1L429.6,500.8L436.8,502.3L445.8,502L448.9,498.8L451.7,497.9L455.1,498.6L462.1,499.3L462.5,493.7L466.2,487.8L467.9,485.6L473,485.5L474,481.1L474.5,469.1L475.5,467.8L479.2,467.8L483,469.7L484.2,471.4L486.1,471.2L488.6,469.8L491.5,468.8L496.2,469.8L506.4,474.6L511.6,476.2L514.8,475.6L517.9,475.4L530.1,482.9L538.4,483.5L545.8,482.9L548,480.2L551,477.8L554.3,477.9L557.3,478.7L563.2,481.9L565.9,482.6L569.4,482.9L572,483.5L574.8,489.6L576.2,491.2L576,492L576,494.9L574.3,498.6L572.6,503.6L573.1,507.7L579.8,521.6L585.4,529.9L586.6,533.2L590,535.5L587.3,539L587.2,543.8L585.4,546.1L585.2,548.9L586.2,551.3L586.4,554.4L587.9,558.6L583.2,559.9L577.5,560.3L575.5,560.7L573.7,562L571.7,561.6L566.2,558L563.2,557.4L561.2,557.8L559.8,559.7L557.4,562.1L555,563.9L555.7,565.2L566.6,568L569,573.4L567.3,578.1L566.8,580.3L564.4,582.3L561.5,584.1L557.8,584.8L557.5,587.2L559.6,594.3L558.5,596L557.5,598.3L559.1,604.1L561.4,604.4L562.1,605.7L561.9,608.1L561.7,610.7L561.1,613.5L560.7,614.7L559.3,615.6L554.4,615.5L550.5,618.2L542.8,627.1L540,628.7L537.1,632.3L537.8,639.6L537.4,640.3L536.8,641.8L526.6,640L526.3,640L519.6,641.4L515.3,645.1L509.9,647.4L498.1,647.1L486.9,649.1L484.2,650.3L481.3,651L478.7,653.1L477.2,655.9L474.6,659.6L470.7,662.5L466.5,664.9L465.5,666.7L464.1,667.8L461.6,666.6L459.6,666.8L457.2,666L449.1,665.4L440.1,664.3L435.9,662.9L431,661.9L425.8,661.2L421.2,661.1L418.9,660.8L407.7,658.5L400.4,658.6L390.8,657.9L371.5,654.4L365.9,652.9L360.6,652.6L354.3,651.4L349.4,649.2L346.3,644.9L342.9,639.1L336.7,631.7L335.4,627.9L337.2,624.5L339,622L338.7,620.9L337.3,620.4L326.9,623.9L316.9,628.2L312.9,628.3L309,627.5L303.9,627.5L299,628.7L289.2,629.3L283.4,632.4L279.8,638.3L277.8,643.1L276.1,644.7L272.7,645.3L267.5,644.8L263.9,643.5L260.2,639.4L254.4,638.9L249.2,638.8L247.8,638L247.9,635.4L245.8,630.4L242.4,628.8L233.5,638.2L231.1,639L223.9,636.4L217.7,632.3L217.1,629.4L216.1,626.9L210.9,624.6L204.4,623L202.3,623L203.1,621.6L203.9,619.2L203.5,617.3L202,615.3L201.1,613.2L200.9,611.1L200.5,609.4L200.2,607.8Z"}
+ ],
+ lakes: "M31.5,202.9L31.5,202.9L31.5,202.9L31.5,202.9L33.2,200.2L33.2,197.6L31.8,195.3L29,193.8L25.5,193.1L19.8,195.1L11.9,199.7L1.6,207.5L2.2,209.1L4.8,211.2L13.1,214.5L16.6,214.4L19,212.9L22.7,209.2L28.6,205.5ZM0,188.5L1.6,188.5L6.6,185.6L7.2,181L3.7,176.5L1.8,172.5L1,168.6L0,165.6L4.1,162.6L9.8,158.4L15,155.9L15.8,157.7L15.8,168.3L16,170.5L17.5,171.9L21.7,173.1L26.7,173L27,175.6L24.9,178.2L24.5,180L23.9,185.6L24,187.6L25.5,189.9L33.8,192L35.1,195.6L35.1,195.6L35.1,195.6L35.1,195.6L35.1,195.6L34.8,201.6L31.1,205.7L16.2,218.2L8,214.6L0,211.5L0,188.5ZM58.9,666.5L58.4,668.7L57.2,670L47.8,668.2L37.3,668.7L30.2,670.4L20.1,681.8L18.8,681.8L20.6,674.4L31.1,663.1L44.2,658.3L56.1,663.8L58.9,666.5L58.9,666.5ZM210.5,587.1L209.9,588L208.2,588.7L201.4,588.2L196.1,587.9L185.8,581.4L182.4,575.7L179,567.9L179.9,567.2L185,571L192.2,575.4L199.4,579.5L206.1,584.1L210.5,587.1L210.5,587.1L210.5,587.1ZM179.6,575.7L179.6,575.7L179.6,575.7L166.8,576.5L170.4,574.3L172.1,573.1L171.9,571L173,569.3L177.9,572.2Z"
};
-const FILL = { de: "#F3EFE7", at: "#EDEFF2", ch: "#EDF2EE" };
+const MAP_PLACES = {
+ "de|berlin":[385.6,202.7],"de|muenchen":[305.2,540.2],"de|hamburg":[227.2,126.7],
+ "de|koeln":[79.4,322.8],"de|frankfurt":[161.3,388.3],"at|wien":[549.2,523.4],
+ "ch|zuerich":[149.2,598.3],"de|stuttgart":[183.6,490.7],"de|duesseldorf":[72.3,300.3],
+ "de|essen":[84.2,283],"de|karlsruhe":[145.2,472.5],"de|hannover":[214.5,216.9],
+ "de|muenster":[114.9,245.6],"ch|genf":[19.5,682],"ch|kanton genf":[19.5,682,"genf"],
+ "de|nuernberg":[279,439.8],"de|leipzig":[339.6,294.7],"de|bonn":[85.7,338.3],
+ "de|heidelberg":[160.3,442.4],"de|rhein-neckar-kreis":[160.3,442.4,"heidelberg"],
+ "de|dortmund":[106,279.5],"de|dresden":[405.8,314.5],"de|ulm":[224.5,520.6],
+ "de|mannheim":[149.3,435.9],"ch|luzern":[135.9,622.1],"ch|kanton luzern":[135.9,622.1,"luzern"],
+ "de|main-taunus-kreis":[149.7,390],"de|bremen":[172.5,162.2],"ch|basel":[99.2,581.9],
+ "de|augsburg":[270.5,522.7],"ch|bern":[90.8,628.4],"ch|dietikon":[141.5,595.4],
+ "de|ostalbkreis":[229.8,487],"de|braunschweig":[251.5,225.1],"de|reutlingen":[184.6,513],
+ "de|aachen":[37,332.6],"de|paderborn":[167.6,265.9],"ch|baden":[136.8,589.8],
+ "de|wiesbaden":[139.7,390],"de|ravensburg":[204.5,567.5],"de|mainz":[141.2,398],
+ "de|erlangen":[275.4,429.4],"de|erlangen-hoechstadt":[275.4,429.4,"erlangen"],
+ "de|oldenburg":[145.4,156.6],"at|graz":[507.8,613.9],"de|coburg":[272.9,378.4],
+ "de|heilbronn":[186.3,463.4],"de|bochum":[94,281.6],"de|koblenz":[107.9,368.4],
+ "de|mettmann":[81.7,298.7],"de|bodenseekreis":[197.5,577],"de|guetersloh":[150.2,251.1],
+ "de|darmstadt":[159.2,406.9],"de|darmstadt-dieburg":[159.2,406.9,"darmstadt"],
+ "de|kiel":[234,67.8],"de|jena":[302.8,326.9],"ch|buelach":[149,586.4],
+ "de|gross-gerau":[151,402.9],"at|linz":[442.8,522.8],"at|urfahr":[442.8,522.8,"linz"],
+ "de|kleve":[44.2,255.5],"ch|ouest lausannois":[44.3,657.5],"de|pforzheim":[159.7,482.4],
+ "de|main-kinzig-kreis":[186.1,382.3],"de|borken":[78.3,253.1],"ch|lausanne":[46.5,659.4],
+ "de|rosenheim":[333.5,561.2],"de|rostock":[323.9,84.8],"de|bautzen":[438.7,303.1],
+ "de|siegen-wittgenstein":[130.9,329.4],"de|freiburg":[114.8,549],"de|erfurt":[276,323.5],
+ "de|offenbach":[165.3,389.6],"ch|zug":[147.1,613.1],"de|starnberg":[293.5,550.8],
+ "de|wuppertal":[90,298.6],"de|duisburg":[72.4,284.3],"de|saarbruecken":[76.1,452.8],
+ "de|ludwigsburg":[184.5,481.9],"de|rhein-erft-kreis":[64.5,320.4],"de|boeblingen":[175.1,498.2],
+ "ch|greyerz":[69.2,652.7],"de|hochtaunuskreis":[158.3,379.7],"de|kaiserslautern":[114.7,438.3],
+ "de|rhein-kreis neuss":[67.7,302],"de|osnabrueck":[135.7,222.6],"de|wuerzburg":[223.2,413.9],
+ "de|lippe":[173.6,249.3],"at|innsbruck":[296.7,607.3],"de|barnim":[403.6,178.1],
+ "de|emsland":[101.6,189.4],"de|goettingen":[223.3,280.9],"de|pinneberg":[218.4,118.4],
+ "de|vorpommern-ruegen":[365.6,66.7],"de|bielefeld":[157.8,241.6],"de|cloppenburg":[137,178.7],
+ "de|ebersberg":[325.4,544.5],"ch|winterthur":[158.5,587.9],"de|soest":[136.6,276],
+ "de|potsdam":[369.9,212.8],"de|kassel":[202.5,297.3],"de|trier":[59.7,412],
+ "de|bad kreuznach":[120.5,408.1],"ch|thun":[99.3,643.8],"de|bamberg":[270,405.9],
+ "de|chemnitz":[367.5,332.5],"de|stormarn":[244.6,106.8],"de|recklinghausen":[93.6,271.4],
+ "de|unna":[116.7,278.2],"de|rhein-lahn-kreis":[114.4,370.1],"de|herford":[164.5,235.6],
+ "de|minden-luebbecke":[176.1,222.5],"de|warendorf":[131.9,247.1],"de|tuebingen":[176.9,510.5],
+ "ch|sursee":[126,612.6],"de|wunsiedel im fichtelgebirge":[324.1,394.5],
+ "de|landsberg am lech":[269.8,547.4],"de|schwerin":[291.7,120.5],
+ "de|muehldorf am inn":[353.2,530.9],"de|biberach":[214,543.8],"de|wesel":[66.4,266.1],
+ "ch|hochdorf":[135.4,613.1],"de|landau in der pfalz":[131.3,457.6],"de|neu-ulm":[225.4,521],
+ "at|villach":[426.8,653.5],"de|bayreuth":[303.3,401.8],"ch|imboden":[195.3,639.9],
+ "de|magdeburg":[303.4,235],"de|gera":[326.5,330.2],"de|schwarzwald-baar-kreis":[147.7,545],
+ "de|steinfurt":[101.9,230.7],"de|hassberge":[251,395.6],"de|rheingau-taunus-kreis":[131.3,385.4],
+ "de|maerkischer":[112.8,302.4],"ch|hoefe":[157.6,611.6],"de|hagen":[105.8,291.3],
+ "de|hildesheim":[224.5,233.8],"at|klagenfurt am woerthersee":[450.3,651.3],
+ "de|gelsenkirchen":[88.4,279.5],"de|euskirchen":[70.5,343.3],"de|donau-ries":[264.4,496.2],
+ "ch|march":[164.6,612],"de|wolfsburg":[263.1,213],"de|leverkusen":[81.4,315.5],
+ "de|baden-baden":[136.4,491.2],"de|vorpommern-greifswald":[379.6,82.8],
+ "de|steinburg":[205.9,98.2],"de|halle":[320.7,284.3],"at|salzburg":[381,564.2],
+ "de|rhein-sieg-kreis":[91.3,333.6],"de|flensburg":[203.3,31.7],"de|heinsberg":[39.1,310.7],
+ "at|schwaz":[313,600.2],"de|stade":[203.8,122.7],"ch|lenzburg":[129.8,596],
+ "de|coesfeld":[93.3,246.2],"de|grafschaft bentheim":[90.3,208.8],
+ "de|muelheim an der ruhr":[77.8,284.6],"de|neumuenster":[227.1,86.7],"ch|arlesheim":[101.4,587],
+ "de|gifhorn":[252.7,208.7],"de|wesermarsch":[158.1,142.2],"de|lichtenfels":[277.7,387],
+ "de|segeberg":[241.6,97.2],"de|giessen":[161.8,352.3],"de|ennepe-ruhr-kreis":[97.1,296.6],
+ "de|schwaebisch hall":[212.2,466],"ch|uster":[158,600],"ch|oberaargau":[109.7,608.6],
+ "de|hameln-pyrmont":[196.6,237],"de|fuerth":[274.5,438.2],"at|zell am see":[369.5,601.1],
+ "de|rheinisch-bergischer":[88.3,319.3],"de|northeim":[226.6,267.7],"ch|solothurn":[96.2,608.7],
+ "de|erding":[321.8,527.1],"de|miesbach":[318.8,566.7],"at|baden":[543.4,539.4],
+ "de|celle":[230.8,197.7],"ch|horgen":[151.5,606.5],"de|amberg-sulzbach":[318,440.2],
+ "de|fulda":[210.2,355.9],"ch|lavaux-oron":[51.5,661.8],"de|goslar":[246.9,252.7],
+ "de|ahrweiler":[85.8,353],"de|weilheim-schongau":[283.9,563.1],"ch|see-gaster":[163.1,609.4],
+ "de|guenzburg":[239,516.3],"de|zollernalbkreis":[166.5,529.2],"de|holzminden":[200.5,258.2],
+ "ch|appenzell innerrhoden":[193.7,601.9],"de|bergstrasse":[157.8,424.5],
+ "de|cottbus":[431.3,259.2],"ch|mendrisio":[169.2,713.4],"de|cuxhaven":[169,101.5],
+ "ch|praettigau-davos":[215.5,642.5],"de|brandenburg an der havel":[345.9,212.2],
+ "de|dithmarschen":[187.4,76.8],"de|ortenaukreis":[120.8,512.7],"de|kempten":[240.7,572],
+ "de|oberbergischer":[109.2,317],"at|liezen":[442.9,579.4],"de|goeppingen":[207.5,497.1],
+ "de|viersen":[54,297],"at|wels":[430.4,534.1],"ch|meilen":[154,605.6],"de|calw":[161.5,495.5],
+ "at|bregenz":[211.3,589],"de|goerlitz":[465.3,303.5],"de|hamm":[123.3,267.5],
+ "ch|bellinzona":[171.6,688.7],"de|regen":[382.1,474.5],"de|aschaffenburg":[184,399.4],
+ "de|garmisch-partenkirchen":[281.1,589.9],"at|sankt johann im pongau":[390.2,598.3],
+ "ch|willisau":[119.8,616.1],"de|dingolfing-landau":[350.9,500.7],"de|ansbach":[254.9,451.4],
+ "de|ostholstein":[255.3,82.1],"de|sigmaringen":[185.4,543.8],"de|krefeld":[61.9,291.1],
+ "ch|rheinfelden":[110.6,582.7],"at|bludenz":[215,615.7],"de|vogtlandkreis":[329.9,359.4],
+ "de|maerkisch-oderland":[430.7,199.9],"at|moedling":[545.8,533],"de|suhl":[259.7,351.7],
+ "de|rems-murr-kreis":[190.7,487],"de|bottrop":[80.5,277.7],"de|gotha":[260,325.8],
+ "ch|frauenfeld":[167.6,584.1],"ch|pfaeffikon":[160.7,611.2],"ch|jura-nord vaudois":[48,639.4],
+ "de|konstanz":[182,576.5],"de|regensburg":[330.6,472.7],"de|saarpfalz-kreis":[92.8,446.4],
+ "de|luebeck":[258.7,102.4],"de|marburg-biedenkopf":[166.8,335.4],
+ "de|neuburg-schrobenhausen":[284.9,495],"de|ingolstadt":[296.8,492.3],"de|freising":[313.7,519.7],
+ "ch|weinfelden":[178,583.6],"de|zwickau":[346.4,341.4],"de|salzgitter":[246.3,233.4],
+ "de|hochsauerlandkreis":[144.5,293.5],"de|oberallgaeu":[239,588],"at|grieskirchen":[420,529.5],
+ "ch|plessur":[199.6,638.8],"de|worms":[144.3,424.8],"ch|aarau":[123.1,595.5],
+ "ch|olten":[115.6,598.5],"de|vulkaneifel":[70.8,378.7],"de|lindau":[208.1,585.6],
+ "ch|nyon":[25.2,668.4],"de|main-tauber-kreis":[208.8,426.7],
+ "de|rhein-hunsrueck-kreis":[104,396.7]
+};
+
+const MAP_SEATS = {
+ "de|main-taunus-kreis":"D:Hofheim am Taunus","de|ostalbkreis":"D:Aalen",
+ "de|bodenseekreis":"D:Friedrichshafen","ch|ouest lausannois":"D:Renens",
+ "de|main-kinzig-kreis":"D:Gelnhausen","de|siegen-wittgenstein":"D:Siegen",
+ "de|rhein-erft-kreis":"D:Bergheim","ch|greyerz":"D:Bulle",
+ "de|hochtaunuskreis":"D:Bad Homburg vor der H\u00f6he","de|rhein-kreis neuss":"D:Neuss",
+ "de|lippe":"D:Detmold","de|barnim":"D:Eberswalde","de|emsland":"D:Meppen",
+ "de|vorpommern-ruegen":"D:Stralsund","de|stormarn":"D:Bad Oldesloe",
+ "de|rhein-lahn-kreis":"D:Bad Ems","de|minden-luebbecke":"D:Minden",
+ "de|wunsiedel im fichtelgebirge":"D:Wunsiedel","ch|imboden":"D:Domat",
+ "de|schwarzwald-baar-kreis":"D:Villingen-Schwenningen","de|hassberge":"D:Ha\u00dffurt",
+ "de|rheingau-taunus-kreis":"D:Bad Schwalbach","de|maerkischer":"D:L\u00fcdenscheid",
+ "ch|hoefe":"D:Wollerau","de|donau-ries":"D:Donauw\u00f6rth","ch|march":"D:Lachen",
+ "de|vorpommern-greifswald":"D:Greifswald","de|steinburg":"D:Itzehoe",
+ "de|rhein-sieg-kreis":"D:Siegburg","de|grafschaft bentheim":"D:Nordhorn",
+ "de|wesermarsch":"D:Brake (Unterweser)","de|segeberg":"D:Bad Segeberg",
+ "de|ennepe-ruhr-kreis":"D:Schwelm","ch|oberaargau":"D:Langenthal","de|hameln-pyrmont":"D:Hameln",
+ "de|rheinisch-bergischer":"D:Bergisch Gladbach","de|amberg-sulzbach":"D:Amberg",
+ "ch|lavaux-oron":"D:Cully","de|ahrweiler":"D:Bad Neuenahr-Ahrweiler",
+ "de|weilheim-schongau":"D:Weilheim","ch|see-gaster":"D:Rapperswil",
+ "de|zollernalbkreis":"D:Balingen","ch|appenzell innerrhoden":"C:Appenzell",
+ "de|bergstrasse":"D:Heppenheim an der Bergstrasse","ch|praettigau-davos":"D:Davos",
+ "de|dithmarschen":"D:Heide","de|ortenaukreis":"D:Offenburg","de|oberbergischer":"D:Gummersbach",
+ "de|dingolfing-landau":"D:Dingolfing","de|ostholstein":"D:Eutin","de|vogtlandkreis":"D:Plauen",
+ "de|maerkisch-oderland":"D:Seelow","de|rems-murr-kreis":"D:Waiblingen",
+ "ch|jura-nord vaudois":"D:Yverdon-les-Bains","de|saarpfalz-kreis":"D:Homburg",
+ "de|marburg-biedenkopf":"D:Marburg an der Lahn",
+ "de|neuburg-schrobenhausen":"D:Neuburg an der Donau","de|hochsauerlandkreis":"D:Meschede",
+ "de|oberallgaeu":"D:Sonthofen","ch|plessur":"D:Chur","de|vulkaneifel":"D:Daun",
+ "de|main-tauber-kreis":"D:Tauberbischofsheim","de|rhein-hunsrueck-kreis":"D:Simmern"
+};
+
+const W = MAP.w, H = MAP.h;
+
+/* lon/lat -> the map frame, for GEO entries. Fitted against the report's
+ own place positions; worst case about 1px off. */
+function lambert(lon, lat) {
+ const r = Math.PI / 180, l = (lon - 10.5) * r, p = lat * r, p0 = 51.2 * r;
+ const k = Math.sqrt(2 / (1 + Math.sin(p0) * Math.sin(p) +
+ Math.cos(p0) * Math.cos(p) * Math.cos(l)));
+ const X = k * Math.cos(p) * Math.sin(l);
+ const Y = k * (Math.cos(p0) * Math.sin(p) -
+ Math.sin(p0) * Math.cos(p) * Math.cos(l));
+ return [+(4382.009 * X + 250.268).toFixed(1),
+ +(-4382.009 * Y + 306.543).toFixed(1)];
+}
+const mapXY = key => MAP_PLACES[key] ||
+ (GEO[key] ? lambert(GEO[key][0], GEO[key][1]) : null);
-const W = 640, H = 800;
-const LON0 = 5.3, LON1 = 17.6, LAT0 = 45.6, LAT1 = 55.4;
-const px = lon => (lon - LON0) / (LON1 - LON0) * W;
-const py = lat => (LAT1 - lat) / (LAT1 - LAT0) * H;
+/* Land keeps a faint wash of each country's bubble colour, so the three
+ countries still read apart on the white base the report uses. */
+const LAND_FILL = { de: "#FFFAF7", at: "#F6F9FC", ch: "#F6FAF7" };
/* strip administrative suffixes before the coordinate lookup */
const nk = s => String(s)
@@ -760,19 +1108,29 @@ const nk = s => String(s)
if (!svg) return;
const ns = "http://www.w3.org/2000/svg";
+ const el = (tag, attrs, parent) => {
+ const e = document.createElementNS(ns, tag);
+ for (const k in attrs) e.setAttribute(k, attrs[k]);
+ (parent || svg).appendChild(e);
+ return e;
+ };
let byRole = null; /* { role: [rows] } or null */
let current = "All roles";
let mode = "bubbles"; /* "bubbles" | "heat" */
- /* ---- draw the three country outlines once ---- */
+ /* ---- base map, drawn once: neighbours, the three countries, lakes,
+ country names. Everything data-driven goes on top of it. ---- */
+ svg.setAttribute("viewBox", `0 0 ${W} ${H}`);
+ const base = el("g", { class: "base" });
+ MAP.land.filter(l => !l.c).forEach(l =>
+ el("path", { d: l.d, class: "nb" }, base));
+ MAP.land.filter(l => l.c).forEach(l =>
+ el("path", { d: l.d, class: "dach", fill: LAND_FILL[l.c] }, base));
+ el("path", { d: MAP.lakes, class: "lake" }, base);
CORDER.forEach(c => {
- const p = document.createElementNS(ns, "path");
- p.setAttribute("class", "outline");
- p.setAttribute("fill", FILL[c]);
- p.setAttribute("d", "M" + OUTLINES[c]
- .map(q => `${px(q[0]).toFixed(1)},${py(q[1]).toFixed(1)}`)
- .join("L") + "Z");
- svg.appendChild(p);
+ const t = el("text", { class: "clab", x: MAP.lab[c][0], y: MAP.lab[c][1],
+ "text-anchor": "middle" }, base);
+ t.textContent = CNAME[c].toUpperCase();
});
/* ---- merge raw rows into one entry per country+city ---- */
@@ -794,19 +1152,51 @@ const nk = s => String(s)
}));
}
+ /* One circle per spot on the map. A canton listed next to its own
+ city (Kanton Genf + Genf), or a district next to its main town,
+ shares one position, so those rows are added into one circle
+ instead of being drawn as two discs on top of each other. */
+ function place(rows) {
+ const at = {};
+ rows.forEach(r => {
+ const p = mapXY(r.key);
+ if (!p) return;
+ const k = p[0] + "," + p[1];
+ const a = at[k] = at[k] || { x: p[0], y: p[1], canon: p[2] || null,
+ country: r.country, n_postings: 0, wage: 0, members: [] };
+ a.n_postings += r.n_postings;
+ a.wage += r.n_postings * r.avg_age_days;
+ a.members.push(r);
+ });
+ return Object.values(at).map(a => {
+ a.members.sort((m, n) => n.n_postings - m.n_postings);
+ a.avg_age_days = a.wage / a.n_postings;
+ a.city = a.canon || a.members[0].city;
+ a.key = a.members[0].key;
+ a.seat = a.members.length === 1 ? MAP_SEATS[a.key] : null;
+ return a;
+ }).sort((a, b) => b.n_postings - a.n_postings);
+ }
+
function showTip(e, r) {
if (!tip) return;
+ const seat = r.seat ? `<br>${r.seat[0] === "C" ? "Canton" : "District"},` +
+ ` drawn at ${esc(r.seat.slice(2))}` : "";
+ const both = r.members && r.members.length > 1
+ ? "<br>Combined: " + r.members.map(m =>
+ `${esc(cityName(m.city))} (${m.n_postings})`).join(", ") : "";
tip.innerHTML =
- `<b>${cityName(r.city)}</b>` +
+ `<b>${esc(cityName(r.city))}</b>` +
`${CNAME[r.country] || r.country}<br>` +
`<em>${r.n_postings.toLocaleString()}</em> ` +
`posting${r.n_postings === 1 ? "" : "s"}` +
` · avg ${Math.round(r.avg_age_days)} days open` +
- (current !== "All roles" ? `<br>${current}` : "");
+ (current !== "All roles" ? `<br>${esc(rlab(current))}` : "") +
+ seat + both;
tip.style.opacity = 1;
moveTip(e);
}
- /* The page ships at html{zoom:.9}, which also scales position:fixed
+ /* The page ships at html{zoom:.8}, which also scales position:fixed
children, while clientX/clientY stay in unzoomed viewport pixels.
Dividing by the computed zoom puts the tooltip back under the
cursor; it reads 1 on browsers that ignore zoom. */
@@ -831,19 +1221,17 @@ const nk = s => String(s)
/* ---- heat surface -------------------------------------------
A kernel density estimate rather than a pile of translucent
- discs. Every city drops a Gaussian of weight sqrt(postings)
- onto a 9px grid, the grid is normalised against its own peak
- and painted through a six-stop cold-to-hot ramp, and a single
- blur smooths the cells. Neighbouring cities therefore sum, so
- the Rhine-Ruhr corridor reads as one hot region instead of
- eight overlapping circles, which is the whole point of a heat
- map over the bubble view. Cells outside all three country
- outlines are dropped, so the surface never bleeds into the sea
- or into France. Transparent hit circles sit on top, so the
- tooltip behaves exactly as it does in bubble mode. */
+ discs. Every city drops a Gaussian onto a 9px grid, the grid is
+ normalised against its own peak and painted through a six-stop
+ cold-to-hot ramp, and a single blur smooths the cells.
+ Neighbouring cities therefore sum, so the Rhine-Ruhr corridor
+ reads as one hot region instead of eight overlapping circles.
+ Cells outside the three countries are dropped, so the surface
+ never bleeds into the sea or into France. Transparent hit
+ circles sit on top, so the tooltip behaves as in bubble mode. */
const HEAT = [[0, "#EDEAE2"], [.15, "#9FB4C4"], [.35, "#6E8CA0"],
[.55, "#C7A87C"], [.75, "#D97757"], [1, "#A63C22"]];
- const CELL = 9, SIG = 24;
+ const CELL = 9, SIG = 22;
const GX = Math.ceil(W / CELL) + 1, GY = Math.ceil(H / CELL) + 1;
const hx = c => [1, 3, 5].map(i => parseInt(c.slice(i, i + 2), 16));
@@ -874,26 +1262,18 @@ const nk = s => String(s)
svg.insertBefore(defs, svg.firstChild);
}
- /* which grid cells fall on land, computed once */
+ /* which grid cells fall on DACH land, computed once by testing the
+ border paths themselves on a throwaway canvas */
let LAND = null;
function landMask() {
if (LAND) return LAND;
- const polys = CORDER.map(c =>
- OUTLINES[c].map(q => [px(q[0]), py(q[1])]));
- const inside = (x, y, p) => {
- let o = false;
- for (let i = 0, j = p.length - 1; i < p.length; j = i++) {
- const [xi, yi] = p[i], [xj, yj] = p[j];
- if ((yi > y) !== (yj > y) &&
- x < (xj - xi) * (y - yi) / (yj - yi) + xi) o = !o;
- }
- return o;
- };
+ const cx = document.createElement("canvas").getContext("2d");
+ const paths = MAP.land.filter(l => l.c).map(l => new Path2D(l.d));
LAND = new Uint8Array(GX * GY);
for (let j = 0; j < GY; j++)
for (let i = 0; i < GX; i++)
- LAND[j * GX + i] =
- polys.some(p => inside(i * CELL, j * CELL, p)) ? 1 : 0;
+ LAND[j * GX + i] = paths.some(p =>
+ cx.isPointInPath(p, i * CELL, j * CELL)) ? 1 : 0;
return LAND;
}
@@ -903,24 +1283,24 @@ const nk = s => String(s)
/* ---- country totals ----------------------------------------
Counted from the same rows the map draws, not from
country_breakdown.json, so the strip always agrees with the
- bubbles even when a role is selected. Cities the GEO table does
- not know still count here: they are postings, they just have no
- dot. */
+ bubbles even when a role is selected. Cities without a map
+ position still count here: they are postings, they just have
+ no dot. */
function drawTotals(rows) {
- const el = document.getElementById("ctrytot");
- if (!el) return;
+ const box = document.getElementById("ctrytot");
+ if (!box) return;
const n = {};
rows.forEach(r => n[r.country] = (n[r.country] || 0) + r.n_postings);
const total = CORDER.reduce((s, c) => s + (n[c] || 0), 0);
- if (!total) { el.innerHTML = ""; return; }
+ if (!total) { box.innerHTML = ""; return; }
const label = current === "All roles"
? "across all roles" : rlab(current);
/* data-ab is what the narrow breakpoint shows in place of the
full name and share, so the chips still say which is which */
- el.innerHTML = CORDER.filter(c => n[c]).map(c =>
+ box.innerHTML = CORDER.filter(c => n[c]).map(c =>
`<div class="c" data-ab="${c.toUpperCase()}"
title="${CNAME[c]}: ${n[c].toLocaleString()} of ` +
`${total.toLocaleString()} (${(100 * n[c] / total).toFixed(1)}%)">
@@ -938,10 +1318,12 @@ const nk = s => String(s)
}
/* A bubble or a table row is a city plus whatever role is selected,
- which is exactly the pair of filters the browser below takes. */
+ which is exactly the pair of filters the browser below takes. A
+ combined circle opens its biggest member. */
function drillCity(r) {
+ const city = r.members ? r.members[0].city : r.city;
openPostings({
- city: `${r.country}|${r.city}`,
+ city: `${r.country}|${city}`,
country: r.country,
family: current === "All roles" ? "" : current
});
@@ -953,15 +1335,15 @@ const nk = s => String(s)
drawTotals(rows);
- svg.querySelectorAll(".bub,.lbl,.heat,.hit").forEach(n => n.remove());
+ svg.querySelectorAll(".bub,.lbl,.heat,.hit,.szl").forEach(n => n.remove());
const d = merge(rows);
- const known = d.filter(r => GEO[r.key])
- .sort((a, b) => b.n_postings - a.n_postings);
+ const spots = place(d);
- if (known.length) {
- const max = known[0].n_postings;
- const R = n => 5 + 28 * Math.sqrt(n / max);
+ if (spots.length) {
+ const vmax = spots[0].n_postings;
+ /* area proportional to postings, as in the report */
+ const R = n => Math.max(2.2, 30 * Math.sqrt(n / vmax));
if (mode === "heat") {
heatDefs();
@@ -969,9 +1351,8 @@ const nk = s => String(s)
const field = new Float64Array(GX * GY);
const span = Math.ceil(SIG * 2.5 / CELL);
- known.forEach(r => {
- const [lon, lat] = GEO[r.key];
- const cx = px(lon), cy = py(lat);
+ spots.forEach(r => {
+ const cx = r.x, cy = r.y;
/* linear weight, not sqrt: Munich's 300 postings must read
hotter than eight neighbouring towns with 5 each */
const w = r.n_postings;
@@ -991,9 +1372,7 @@ const nk = s => String(s)
for (let i = 0; i < field.length; i++)
if (field[i] > fmax) fmax = field[i];
- const g = document.createElementNS(ns, "g");
- g.setAttribute("class", "heat");
- g.setAttribute("filter", "url(#heatblur)");
+ const g = el("g", { class: "heat", filter: "url(#heatblur)" });
if (fmax > 0) {
for (let j = 0; j < GY; j++) {
for (let i = 0; i < GX; i++) {
@@ -1001,67 +1380,79 @@ const nk = s => String(s)
if (!land[k]) continue;
const t = field[k] / fmax;
if (t < 0.05) continue;
- const rc = document.createElementNS(ns, "rect");
- rc.setAttribute("x", i * CELL - CELL / 2);
- rc.setAttribute("y", j * CELL - CELL / 2);
- rc.setAttribute("width", CELL);
- rc.setAttribute("height", CELL);
- rc.setAttribute("fill", ramp(t));
- rc.setAttribute("fill-opacity",
- (0.18 + 0.72 * Math.min(1, t * 1.35)).toFixed(2));
- g.appendChild(rc);
+ el("rect", {
+ x: i * CELL - CELL / 2, y: j * CELL - CELL / 2,
+ width: CELL, height: CELL, fill: ramp(t),
+ "fill-opacity": (0.18 + 0.72 * Math.min(1, t * 1.35)).toFixed(2)
+ }, g);
}
}
}
- svg.appendChild(g);
/* transparent hit targets so the tooltip still works */
- known.forEach(r => {
- const [lon, lat] = GEO[r.key];
- const c = document.createElementNS(ns, "circle");
- c.setAttribute("class", "hit");
- c.setAttribute("cx", px(lon));
- c.setAttribute("cy", py(lat));
- c.setAttribute("r", Math.max(9, R(r.n_postings)));
+ spots.forEach(r => {
+ const c = el("circle", { class: "hit", cx: r.x, cy: r.y,
+ r: Math.max(8, R(r.n_postings)) });
c.addEventListener("mouseenter", e => showTip(e, r));
c.addEventListener("mousemove", moveTip);
c.addEventListener("mouseleave", hideTip);
- svg.appendChild(c);
+ c.addEventListener("click", () => drillCity(r));
});
} else {
- known.forEach(r => {
- const [lon, lat] = GEO[r.key];
- const c = document.createElementNS(ns, "circle");
- c.setAttribute("class", "bub");
- c.setAttribute("cx", px(lon));
- c.setAttribute("cy", py(lat));
- c.setAttribute("r", R(r.n_postings));
- c.setAttribute("fill", CCOL[r.country] || CORAL);
- c.setAttribute("fill-opacity", .82);
+ /* biggest first, so small places stay clickable on top */
+ spots.forEach(r => {
+ const c = el("circle", { class: "bub", cx: r.x, cy: r.y,
+ r: R(r.n_postings).toFixed(2),
+ fill: CCOL[r.country] || CORAL, "fill-opacity": .7 });
c.addEventListener("mouseenter", e => showTip(e, r));
c.addEventListener("mousemove", moveTip);
c.addEventListener("mouseleave", hideTip);
c.addEventListener("click", () => drillCity(r));
- svg.appendChild(c);
});
}
- CORDER.forEach(cc => {
- known.filter(r => r.country === cc).slice(0, 4).forEach(r => {
- const [lon, lat] = GEO[r.key];
- const tx = document.createElementNS(ns, "text");
- tx.setAttribute("class", "lbl");
- tx.setAttribute("x", px(lon) + R(r.n_postings) + 5);
- tx.setAttribute("y", py(lat) + 4);
- tx.textContent = cityName(r.city);
- svg.appendChild(tx);
- });
+ /* Labels: biggest places first, each in the first free spot
+ around its circle. The top two of every country go first, so
+ Vienna and Zurich keep a name even when Germany dominates. */
+ const boxes = [];
+ const hit = (b, o) => b[0] < o[0] + o[2] + 3 && o[0] < b[0] + b[2] + 3 &&
+ b[1] < o[1] + o[3] + 1 && o[1] < b[1] + b[3] + 1;
+ svg.querySelectorAll(".clab").forEach(t => {
+ const b = t.getBBox();
+ boxes.push([b.x, b.y, b.width, b.height]);
});
+ const free = b => b[0] > 2 && b[1] > 2 && b[0] + b[2] < W - 2 &&
+ b[1] + b[3] < H - 2 && !boxes.some(o => hit(b, o));
+ const lead = CORDER.flatMap(c =>
+ spots.filter(r => r.country === c).slice(0, 2));
+ const order = lead.concat(spots.filter(r => !lead.includes(r)));
+ const maxLab = 12, h = 15;
+ let n = 0;
+ for (const r of order) {
+ if (n >= maxLab) break;
+ const x = r.x, y = r.y, rr = R(r.n_postings);
+ const t = el("text", { class: "lbl", x, y,
+ "dominant-baseline": "central" });
+ t.textContent = cityName(r.city);
+ const w = t.getComputedTextLength();
+ const spots4 = [
+ { x: x + rr + 4, y, a: "start", b: [x + rr + 3, y - h / 2, w + 2, h] },
+ { x: x - rr - 4, y, a: "end", b: [x - rr - 5 - w, y - h / 2, w + 2, h] },
+ { x, y: y - rr - 9, a: "middle", b: [x - w / 2 - 1, y - rr - 9 - h / 2, w + 2, h] },
+ { x, y: y + rr + 10, a: "middle", b: [x - w / 2 - 1, y + rr + 10 - h / 2, w + 2, h] }];
+ const s = spots4.find(q => free(q.b));
+ if (!s) { t.remove(); continue; }
+ t.setAttribute("x", s.x.toFixed(1));
+ t.setAttribute("y", s.y.toFixed(1));
+ t.setAttribute("text-anchor", s.a);
+ boxes.push(s.b);
+ n++;
+ }
}
const top = d.filter(r => r.city !== "not specified")
.sort((a, b) => b.n_postings - a.n_postings)
- .slice(0, 14);
+ .slice(0, 40);
const body = document.getElementById("cityrank");
if (!body) return;
if (!top.length) {
@@ -1089,8 +1480,31 @@ const nk = s => String(s)
body.querySelectorAll("tr.drill").forEach(tr =>
tr.addEventListener("click",
() => drillCity(top[+tr.dataset.i])));
+ fitRank();
}
+ /* Next to the map, the ranking runs down to the map's bottom edge:
+ every row that still fits is shown. Stacked under the map (phones)
+ it stays at 14 rows. */
+ function fitRank() {
+ const body = document.getElementById("cityrank");
+ const plot = document.querySelector("#geo .map-plot");
+ if (!body || !plot) return;
+ const rows = [...body.querySelectorAll("tr")];
+ rows.forEach(tr => tr.hidden = false);
+ const pb = plot.getBoundingClientRect();
+ const beside = body.getBoundingClientRect().top < pb.bottom;
+ rows.forEach((tr, i) => {
+ tr.hidden = beside ? tr.getBoundingClientRect().bottom > pb.bottom + 1
+ : i >= 14;
+ });
+ }
+ let fitT = null;
+ addEventListener("resize", () => {
+ clearTimeout(fitT);
+ fitT = setTimeout(fitRank, 120);
+ });
+
/* ---- build the role buttons ---- */
function buildPicker(roles, enabled) {
if (!pick) return;
@@ -1144,7 +1558,7 @@ const nk = s => String(s)
byRole[b].reduce((s, r) => s + r.n_postings, 0) -
byRole[a].reduce((s, r) => s + r.n_postings, 0));
buildPicker(roles, true);
- draw(cr);
+ draw(live(cr));
} else if (cb && cb.length) {
byRole = { "All roles": cb };
buildPicker([], false);
@@ -1283,84 +1697,8 @@ get("role_breakdown").then(all => {
});
}
- /* seniority stack */
+ /* seniority levels, for the totals below */
const levels = ["junior", "mid", "senior"];
- const cols = { junior: SAGE, mid: STEEL, senior: CORAL };
- const cell = (rf, lv) =>
- d.filter(r => r.role_family === rf && r.seniority === lv)
- .reduce((s, r) => s + r.n_postings, 0);
-
- bar("roles", roles.map(rlab),
- levels.map(lv => ds(lv, roles.map(rf => cell(rf, lv)),
- cols[lv])), true, true, false,
- { x: "live postings", y: "role" });
-
- /* heatmap - country filterable.
- Row order is frozen to the all-DACH ranking so switching country
- compares like with like instead of reshuffling the table. The
- colour scale is rescaled per view, otherwise Austria and
- Switzerland render as one flat pale block next to Germany. */
- const hm = document.getElementById("heat");
- hm.style.gridTemplateColumns = "minmax(100px,1fr) repeat(3, 1fr)";
-
- const cellC = (rf, lv, c) =>
- d.filter(r => r.role_family === rf && r.seniority === lv &&
- (!c || r.country === c))
- .reduce((s, r) => s + r.n_postings, 0);
-
- /* the country currently shown, so a cell click can carry it into
- the postings browser alongside role and seniority */
- let heatCountry = "";
-
- function drawHeat(c) {
- heatCountry = c || "";
- const maxCell = Math.max(1, ...roles.flatMap(
- rf => levels.map(lv => cellC(rf, lv, c))));
- let html = '<div class="hd"></div>' +
- levels.map(l => `<div class="hd">${l}</div>`).join("");
- roles.forEach(rf => {
- html += `<div class="rw">${rlab(rf)}</div>`;
- levels.forEach(lv => {
- const v = cellC(rf, lv, c);
- const a = v / maxCell;
- /* zero cells are not drill-downs, so they stay inert */
- const hit = v > 0;
- html += `<div${hit ? ' class="hcell" role="button" tabindex="0"' +
- ` data-rf="${esc(rf)}" data-lv="${esc(lv)}"` +
- ` title="Show the ${v} ${rlab(rf)} (${lv}) postings"` : ""}` +
- ` style="background:rgba(217,119,87,` +
- `${(0.12 + 0.88 * a).toFixed(2)});` +
- `color:${a > 0.45 ? "#fff" : "#26241F"}">${v}</div>`;
- });
- });
- hm.innerHTML = html;
- }
- drawHeat("");
-
- /* delegated: the grid is rebuilt on every country switch */
- function heatOpen(cell) {
- openPostings({ family: cell.dataset.rf,
- seniority: cell.dataset.lv,
- country: heatCountry });
- }
- hm.addEventListener("click", e => {
- const cell = e.target.closest(".hcell");
- if (cell) heatOpen(cell);
- });
- hm.addEventListener("keydown", e => {
- if (e.key !== "Enter" && e.key !== " ") return;
- const cell = e.target.closest(".hcell");
- if (cell) { e.preventDefault(); heatOpen(cell); }
- });
-
- const hseg = document.getElementById("heatseg");
- if (hseg) hseg.addEventListener("click", e => {
- const b = e.target.closest("button");
- if (!b) return;
- hseg.querySelectorAll("button").forEach(x =>
- x.setAttribute("aria-pressed", String(x === b)));
- drawHeat(b.dataset.c);
- });
/* seniority totals */
const sen = levels.map(lv => {
@@ -1474,48 +1812,6 @@ function initEmployers() {
draw();
}
-/* ---------------- the AI split ----------------
- Reads the same role_breakdown table as the roles section, filtered
- to the six AI families. The section stays hidden if the data
- directory still holds a pre-split snapshot, so an old deploy does
- not render an empty chart. */
-get("role_breakdown").then(d => {
- if (!d || !d.length) return;
-
- const agg = {};
- live(d).filter(r => isAI(r.role_family)).forEach(r => {
- const k = String(r.role_family).toLowerCase();
- agg[k] = agg[k] || { n: 0, wage: 0 };
- agg[k].n += r.n_postings;
- agg[k].wage += r.n_postings * r.avg_age_days;
- });
-
- const fams = Object.keys(agg);
- /* one family means the pipeline has not been re-run yet */
- if (fams.length < 2) return;
-
- const sec = document.getElementById("ai-section");
- if (sec) sec.hidden = false;
-
- const rows = fams.map(f => ({ role: f, n: agg[f].n,
- age: agg[f].wage / agg[f].n }))
- .sort((a, b) => b.n - a.n);
-
- bar("aivol", rows.map(r => wrap(rlab(r.role))),
- [ds("Live postings", rows.map(r => r.n),
- rows.map((r, i) => rcol(r.role, i)))], true, false, false,
- { x: "live postings", y: "AI role",
- pick: i => openPostings({ family: rows[i].role }) });
-
- const byAge = rows.slice().sort((a, b) => b.age - a.age);
- bar("aiage", byAge.map(r => wrap(rlab(r.role))),
- [ds("Avg days open", byAge.map(r => Math.round(r.age)),
- byAge.map(r => ageColour(r.age)))], true, false, false,
- { x: "average days a posting stays open", y: "AI role",
- pick: i => openPostings({ family: byAge[i].role }) });
-
-});
-
/* ---------------- postings browser ----------------------------
The only row-level view on the page. Everything else is a count;
this is what was counted.
@@ -1751,6 +2047,7 @@ get("postings").then(d => {
$p("postings-section").hidden = false;
initEmployers();
+ initRoleProfiles();
const uniq = k => [...new Set(POSTINGS.map(r => r[k]).filter(Boolean))];
@@ -1909,12 +2206,12 @@ get("history").then(h => {
the staleness cap were still changing, so their numbers are not
comparable. The tracker starts on the first clean day. */
const MIN_DATE = "2026-08-08";
- h = h.filter(r => String(r.snapshot_date) >= MIN_DATE);
+ h = h.filter(r => iso(r.snapshot_date) >= MIN_DATE);
const rows = (m, dim) => h.filter(r => r.metric === m &&
r.dimension === dim);
- const weeks = [...new Set(h.map(r => r.snapshot_date))].sort();
- if (weeks.length < 2) return;
+ const snaps = [...new Set(h.map(r => r.snapshot_date))].sort();
+ if (snaps.length < 2) return;
const tsec = document.getElementById("trend-section");
if (!tsec) return;
@@ -1934,33 +2231,31 @@ get("history").then(h => {
let chart = null;
let gran = "day"; /* "day" | "week" */
- /* ISO-ish week key: the Monday of the week a snapshot falls in.
- Averaging inside the bucket, not summing: these are levels
- (postings live on a day, days open), not daily increments. */
- const monday = d => {
- const t = new Date(d + "T00:00:00Z");
- t.setUTCDate(t.getUTCDate() - ((t.getUTCDay() + 6) % 7));
- return t.toISOString().slice(0, 10);
- };
+ /* One slot per calendar day, run or not. A day without a run stays
+ an empty, shaded slot instead of the axis quietly skipping it, and
+ nothing is interpolated across it. */
+ const snapOf = {};
+ snaps.forEach(s => snapOf[iso(s)] = s);
+ const days = dayList(iso(snaps[0]), iso(snaps[snaps.length - 1]));
+
+ /* Weekly view: Monday-to-Sunday buckets, averaged rather than
+ summed, because these are levels (postings live on a day, days
+ open), not daily increments. */
const buckets = () => {
- if (gran === "day") return weeks.map(w => [w, [w]]);
+ if (gran === "day") return days.map(d => [d, snapOf[d] ? [snapOf[d]] : []]);
const m = new Map();
- weeks.forEach(w => {
- const k = monday(String(w).slice(0, 10));
+ days.forEach(d => {
+ const k = mondayOf(d);
if (!m.has(k)) m.set(k, []);
- m.get(k).push(w);
+ if (snapOf[d]) m.get(k).push(snapOf[d]);
});
return [...m.entries()];
};
- const labelsFor = () => buckets().map(([k, ds]) =>
- gran === "day" ? String(k).slice(0, 10)
- : "week of " + String(k).slice(5));
const series = (m, dim, label, colour, axis) => {
- const rs = rows(m, dim);
- const at = w => (rs.find(r => r.snapshot_date === w) || {}).value;
- const data = buckets().map(([, ds]) => {
- const vs = ds.map(at).filter(v => v != null);
+ const at = new Map(rows(m, dim).map(r => [r.snapshot_date, r.value]));
+ const data = buckets().map(([, ks]) => {
+ const vs = ks.map(k => at.get(k)).filter(v => v != null);
if (!vs.length) return null;
const avg = vs.reduce((a, b) => a + b, 0) / vs.length;
return Math.round(avg * 10) / 10;
@@ -1969,8 +2264,16 @@ get("history").then(h => {
label: gran === "week" ? label + " (weekly avg)" : label,
data,
borderColor: colour, backgroundColor: colour,
- tension: .3, pointRadius: 3, fill: false, yAxisID: axis,
- spanGaps: true
+ tension: .3, borderWidth: 2, fill: false, yAxisID: axis,
+ spanGaps: false,
+ /* no markers on the daily line, except a lone day between gaps,
+ which would otherwise be invisible */
+ pointRadius: c => {
+ if (gran === "week") return 3;
+ const d = c.dataset.data, i = c.dataIndex;
+ return d[i] != null && d[i - 1] == null && d[i + 1] == null ? 2.5 : 0;
+ },
+ pointHoverRadius: 4
};
};
@@ -2007,34 +2310,62 @@ get("history").then(h => {
? series("live_postings", "all", volLabel, STEEL, "y1")
: series("role_count", current, volLabel, STEEL, "y1"));
+ const bk = buckets();
+ const keys = bk.map(b => b[0]);
+ const bands = noRunBands(keys, (k, i) => !bk[i][1].length,
+ (a, b) => [a, gran === "week" ? addDays(b, 6) : b]);
+
chart = new Chart(document.getElementById("trend"), {
type: "line",
- data: { labels: labelsFor(), datasets },
+ data: { labels: keys, datasets },
+ plugins: [NO_RUN],
options: {
- interaction: { mode: "index", intersect: false },
+ aspectRatio: window.innerWidth < 600 ? 1.5 : 2.7,
+ layout: { padding: bandPad(bands) },
+ interaction: { mode: "slot", intersect: false },
plugins: {
+ noRun: { bands },
legend: { position: "bottom",
- labels: { boxWidth: 16, boxHeight: 16, padding: 16,
- font: { size: 15 } } },
+ labels: { boxWidth: 12, boxHeight: 12, padding: 14,
+ font: { size: 13 } } },
tooltip: {
- enabled: true, mode: "index", intersect: false,
+ enabled: true, mode: "slot", intersect: false, position: "slot",
titleFont: { size: 13 }, bodyFont: { size: 13 },
callbacks: {
- label: c => `${c.dataset.label}: ` +
- (c.parsed.y == null ? "n/a"
- : Number(c.parsed.y).toLocaleString("en-US",
- { maximumFractionDigits: 1 }))
+ title: it => it.length ? (gran === "week"
+ ? "Week of " + fDay(keys[it[0].dataIndex])
+ : fDayW(keys[it[0].dataIndex])) : "",
+ label: c => c.parsed.y == null ? "" : `${c.dataset.label}: ` +
+ Number(c.parsed.y).toLocaleString("en-US",
+ { maximumFractionDigits: 1 }),
+ /* a day inside a shaded box has no snapshot: say so */
+ afterBody: it => {
+ if (!it.length || it.some(i => i.parsed.y != null)) return "";
+ const k = keys[it[0].dataIndex];
+ const o = outageIn(k, gran === "week" ? addDays(k, 6) : k);
+ return (gran === "week" ? "No runs that week" : "No run that day") +
+ (o ? ` (${o.why})` : "");
+ }
}
}
},
scales: {
- x: { grid: { display: true, color: LINE, drawTicks: true },
- /* thinned out: one label per few points beats a wall
- of rotated dates nobody reads */
- ticks: { autoSkip: true, maxTicksLimit: 10,
- maxRotation: 0, minRotation: 0 },
+ x: { grid: { display: true, drawTicks: true,
+ color: c => gran === "week" ||
+ [1, 15].includes(+String(keys[c.index] || "").slice(8, 10))
+ ? LINE : "transparent" },
+ /* daily: the 1st and 15th of each month; weekly: each
+ week by its Monday */
+ ticks: { autoSkip: gran === "week", maxRotation: 0,
+ minRotation: 0,
+ callback: (v, i) => {
+ const k = keys[i];
+ if (gran === "week") return fDay(k);
+ const dd = +k.slice(8, 10);
+ return dd === 1 || dd === 15 ? fDay(k) : "";
+ } },
title: { display: true,
- text: gran === "week" ? "week"
+ text: gran === "week" ? "week (Monday to Sunday)"
: "snapshot date" } },
y: { position: "left", grid: { display: showAge(), color: LINE },
display: showAge(), ticks: intTicks,
@@ -2296,7 +2627,7 @@ get("history").then(h => {
chartA = new Chart(document.getElementById("skillrole"), {
type: "bar",
data: {
- labels: top.map(r => r.skill),
+ labels: top.map(r => slab(r.skill)),
datasets: [{
data: top.map(r => r.pct_postings),
backgroundColor: top.map((_, i) => cyc(i)),
@@ -2332,7 +2663,7 @@ get("history").then(h => {
chartA = new Chart(document.getElementById("skillrole"), {
type: "bar",
data: {
- labels: top.map(r => r.skill),
+ labels: top.map(r => slab(r.skill)),
datasets: [{
data: top.map(r => r.pct_role_postings),
backgroundColor: top.map((_, i) => cyc(i)),
@@ -2365,7 +2696,7 @@ get("history").then(h => {
chartB = new Chart(document.getElementById("skillrolediff"), {
type: "bar",
data: {
- labels: both.map(r => r.skill),
+ labels: both.map(r => slab(r.skill)),
datasets: [{
data: both.map(r => r.d),
backgroundColor: both.map(r => r.d >= 0 ? CORAL : STEEL),
@@ -2376,7 +2707,7 @@ get("history").then(h => {
options: opts("percentage points vs the whole market",
c => {
const m = c.dataset.meta[c.dataIndex];
- return `${m.skill}: ${m.pct}% in ${rlab(current)} ` +
+ return `${slab(m.skill)}: ${m.pct}% in ${rlab(current)} ` +
`vs ${m.mkt}% market-wide ` +
`(${m.d > 0 ? "+" : ""}${m.d} pp)`;
})
@@ -2814,25 +3145,34 @@ get("history").then(h => {
/* ===================================================== */
/* ===== New postings per day (below the trend) ======== */
-/* Reads new_postings_daily.json, built from the gold */
-/* registry (05, section 8b) and keyed on first_seen - */
-/* the day the pipeline first observed the advert. */
-/* There is deliberately no fallback to counting */
-/* postings.json: that keys on the advert's own */
-/* created_date, which backfills a year of history from */
-/* whatever is live in one snapshot. Expiry has already */
-/* gutted those old days, so they read as a ramp that */
-/* never happened. Empty until the second pipeline run. */
+/* Reads new_postings_daily.json from the gold registry, */
+/* keyed on created_date: the day Adzuna lists the */
+/* advert. The registry started on 27 Aug 2026, so the */
+/* chart starts there; before it, only adverts still */
+/* online on that first run could be counted, which */
+/* would read as a ramp that never happened. */
+/* Days without a pipeline run are shaded: adverts */
+/* listed then are counted, but only if still online at */
+/* the next run, so those bars are lower bounds. */
/* ===================================================== */
(function () {
- get("new_postings_daily").then(nd => {
+ const NP_START = "2026-08-27";
+ /* every Monday-to-Sunday week gets its own colour, rotating, keyed
+ on the week itself so a week keeps its colour in every timeframe */
+ const WEEK_PAL = [STEEL, AMBER, SAGE, PLUM, TEAL, CLAY, INDIGO, OLIVE];
+ const weekCol = d => WEEK_PAL[weekNo(d) % WEEK_PAL.length];
+ const INK = "#2E2A24";
+
+ Promise.all([get("new_postings_daily"), RUNS]).then(([nd, runs]) => {
+ /* older exports called the column "day" */
let rows = (nd || [])
- .map(r => ({ ...r, day: String(r.day || "").slice(0, 10) }));
+ .map(r => ({ ...r, day: iso(r.created_date || r.day) }));
rows = rows.filter(r => isLive(r.role_family) &&
r.role_family !== "other" &&
- /^\d{4}-\d{2}-\d{2}$/.test(r.day));
+ /^\d{4}-\d{2}-\d{2}$/.test(r.day) &&
+ r.day >= NP_START);
if (!rows.length) return;
const sec = document.getElementById("newposts-section");
@@ -2847,6 +3187,16 @@ get("history").then(h => {
const tracked = Math.round(
(Date.parse(maxDay) - Date.parse(minDay)) / 864e5) + 1;
+ /* lower bounds: no run that day, or the newest day, which is still
+ running when the morning job reads it */
+ const noRun = d => runs ? !runs.ran(d) : false;
+ const lbOf = d => d === maxDay ? "partial" : noRun(d) ? "norun" : "";
+ const LB_TEXT = {
+ norun: "Lower bound: no pipeline run that day, so only adverts " +
+ "still online at the next run were counted.",
+ partial: "Partial day: the run happens in the morning."
+ };
+
/* zero-filled day axis ending on the newest day, never reaching
back past the first tracked day - a 60-day window in week one
would otherwise be 55 zero bars pretending to be no hiring */
@@ -2882,7 +3232,7 @@ get("history").then(h => {
let selRoles = []; /* empty = all roles; up to 3 to compare */
let country = "all";
let sen = "all";
- let span = 30;
+ let span = 60;
let chart = null;
const filt = r => (country === "all" || r.country === country) &&
@@ -2932,10 +3282,29 @@ get("history").then(h => {
`<span>total in this view</span></div>`;
}
+ /* the key under the chart: week colours for a single series,
+ Chart.js' own legend when roles are compared */
+ function legend(single, showAvg, days) {
+ const el = document.getElementById("nplegend");
+ if (!el) return;
+ if (!single) { el.innerHTML = ""; el.hidden = true; return; }
+ const wk = [...new Set(days.map(weekNo))].slice(-5);
+ el.hidden = false;
+ el.innerHTML =
+ `<li><span class="wkchips">${wk.map(w =>
+ `<i style="background:${WEEK_PAL[w % WEEK_PAL.length]}"></i>`)
+ .join("")}</span>One colour per week, Monday to Sunday</li>` +
+ `<li><span class="sw lb"></span>Lighter: lower bound</li>` +
+ (showAvg ? `<li><span class="ln"></span>7-day average</li>` : "") +
+ (days.some(noRun)
+ ? `<li><span class="sw band"></span>No pipeline run</li>` : "");
+ }
+
function draw() {
if (chart) chart.destroy();
const days = mkDays(span);
const picks = selRoles.length ? selRoles : [null];
+ const single = picks.length === 1;
const showAvg = document.getElementById("npavg").checked;
const datasets = [];
const combined = days.map(() => 0);
@@ -2945,36 +3314,73 @@ get("history").then(h => {
vals.forEach((v, j) => combined[j] += v);
const col = role == null ? STEEL : rcol(role, i);
const name = role == null ? ALL : rlab(role);
- datasets.push({
+ datasets.push(single ? {
+ type: "bar", label: name, data: vals, order: 2,
+ backgroundColor: days.map(d =>
+ weekCol(d) + (lbOf(d) ? "59" : "E6")),
+ borderRadius: 2, barPercentage: .92, categoryPercentage: .92
+ } : {
type: "bar", label: name, data: vals, order: 2,
backgroundColor: col + "66", borderColor: col, borderWidth: 1
});
if (showAvg && days.length > 7)
datasets.push({
- type: "line", label: name + " (7-day avg)",
- data: roll7(vals), borderColor: col, backgroundColor: col,
- tension: .3, pointRadius: 0, borderWidth: 2.5,
+ type: "line", label: single ? "7-day average"
+ : name + " (7-day avg)",
+ data: roll7(vals), borderColor: single ? INK : col,
+ backgroundColor: single ? INK : col,
+ tension: .3, pointRadius: 0, borderWidth: 2,
fill: false, order: 1, spanGaps: true
});
});
+ const bands = noRunBands(days, noRun, (a, b) => [a, b]);
+
chart = new Chart(document.getElementById("npchart"), {
data: { labels: days.map(fmtDay), datasets },
+ plugins: [NO_RUN],
options: {
- aspectRatio: 2,
- interaction: { mode: "index", intersect: false },
+ aspectRatio: window.innerWidth < 600 ? 1.5 : 2.7,
+ layout: { padding: bandPad(bands) },
+ interaction: { mode: "slot", intersect: false },
plugins: {
- legend: { position: "bottom",
- labels: { boxWidth: 16, boxHeight: 16,
- padding: 16, font: { size: 15 } } },
- tooltip: { mode: "index", intersect: false,
- titleFont: { size: 13 }, bodyFont: { size: 13 } }
+ noRun: { bands },
+ legend: { display: !single, position: "bottom",
+ labels: { boxWidth: 12, boxHeight: 12,
+ padding: 14, font: { size: 13 } } },
+ tooltip: { mode: "slot", intersect: false, position: "slot",
+ titleFont: { size: 13 }, bodyFont: { size: 13 },
+ footerFont: { size: 12, weight: "normal" },
+ callbacks: {
+ /* no line for a day the average has no value */
+ label: c => c.parsed.y == null ? "" :
+ `${c.dataset.label}: ` +
+ Number(c.parsed.y).toLocaleString("en-US",
+ { maximumFractionDigits: 1 }),
+ title: it => {
+ if (!it.length) return "";
+ const d = days[it[0].dataIndex];
+ return `${fDayW(d)} · week ${isoWeek(d)}` +
+ (noRun(d) ? " · no run" : "");
+ },
+ footer: it => {
+ if (!it.length) return "";
+ const t = LB_TEXT[lbOf(days[it[0].dataIndex])];
+ return t ? wrap(t, 46) : "";
+ }
+ } }
},
scales: {
- x: { grid: { display: false },
- ticks: { autoSkip: true, maxTicksLimit: 10, maxRotation: 0 },
+ /* a tick and a faint rule at every Monday, so the weeks
+ read as blocks */
+ x: { grid: { display: true, offset: true, drawTicks: false,
+ color: c => isMonday(days[c.index])
+ ? "#E3D9CA" : "transparent" },
+ ticks: { autoSkip: false, maxRotation: 0,
+ callback: (v, i) =>
+ isMonday(days[i]) ? fmtDay(days[i]) : "" },
title: { display: true,
- text: "day the advert was first seen" } },
+ text: "day Adzuna lists the advert · ticks mark Mondays" } },
y: { beginAtZero: true, grid: { color: LINE },
ticks: { precision: 0 },
title: { display: true, text: "new postings" } }
@@ -2982,6 +3388,7 @@ get("history").then(h => {
}
});
chips(combined, days);
+ legend(single, showAvg && days.length > 7, days);
}
/* role pills - multi-select, "All roles" clears */
@@ -3031,7 +3438,7 @@ get("history").then(h => {
simpleRow("npsen",
[["all", "All"], ...senList.map(s => [s, cap(s)])],
v => sen = v, "all");
- simpleRow("nprange", RANGES, v => span = +v, "30");
+ simpleRow("nprange", RANGES, v => span = +v, "60");
const avgEl = document.getElementById("npavg");
if (avgEl) avgEl.addEventListener("change", draw);
@@ -3039,3 +3446,417 @@ get("history").then(h => {
draw();
});
})();
+
+
+/* ===================================================== */
+/* ===== Small charts shared by the role profiles, ===== */
+/* ===== the AI vocabulary and the run calendar ===== */
+/* ===================================================== */
+
+/* the dark map tooltip, reused */
+const TIP = (() => {
+ const box = () => document.getElementById("maptip");
+ const zoom = () => {
+ const z = parseFloat(getComputedStyle(document.documentElement).zoom);
+ return z > 0 && isFinite(z) ? z : 1;
+ };
+ function move(e) {
+ const t = box();
+ if (!t) return;
+ const z = zoom(), pad = 14;
+ const cx = e.clientX / z, cy = e.clientY / z;
+ let x = cx + pad, y = cy + pad;
+ if (x + t.offsetWidth > innerWidth / z - 8) x = cx - t.offsetWidth - pad;
+ if (y + t.offsetHeight > innerHeight / z - 8) y = cy - t.offsetHeight - pad;
+ t.style.left = x + "px";
+ t.style.top = y + "px";
+ }
+ const hide = () => { const t = box(); if (t) t.style.opacity = 0; };
+ function bind(node, html) {
+ node.addEventListener("mouseenter", e => {
+ const t = box();
+ if (!t) return;
+ t.innerHTML = html();
+ t.style.opacity = 1;
+ move(e);
+ });
+ node.addEventListener("mousemove", move);
+ node.addEventListener("mouseleave", hide);
+ }
+ addEventListener("scroll", hide, { passive: true });
+ return { bind, hide };
+})();
+
+/* Horizontal bars as plain HTML: label, bar, optional comparison tick
+ (the whole market) and the value at the bar's tip.
+ rows: [{ label, sub, v, m, color, val, tip, go }] */
+function hbars(box, rows, o = {}) {
+ if (!box) return;
+ if (!rows.length) {
+ box.innerHTML = `<p class="hb-empty">${o.empty || "No data."}</p>`;
+ return;
+ }
+ const max = o.max ||
+ Math.max(...rows.map(r => Math.max(r.v, r.m || 0))) * 1.02 || 1;
+ box.style.setProperty("--lw", (o.lw || 104) + "px");
+ box.innerHTML = rows.map((r, i) => {
+ const w = Math.max(.8, 100 * r.v / max);
+ const t = r.m != null ? Math.min(100, 100 * r.m / max) : null;
+ const end = Math.max(w, t || 0);
+ return `<div class="hb-row${r.go ? " clk" : ""}" data-i="${i}"` +
+ (r.go ? ` role="button" tabindex="0"` : "") + `>` +
+ `<span class="hb-lab">` +
+ (o.rank ? `<i class="rk">${o.rank + i}</i>` : "") +
+ `${esc(r.label)}${r.sub ? ` <small>${esc(r.sub)}</small>` : ""}</span>` +
+ `<span class="hb-track">` +
+ `<i class="hb-bar" style="width:${w.toFixed(2)}%;background:${r.color}"></i>` +
+ (t != null ? `<i class="hb-tick" style="left:${t.toFixed(2)}%"></i>` : "") +
+ `<b class="hb-val" style="left:${end.toFixed(2)}%">${r.val}</b>` +
+ `</span></div>`;
+ }).join("");
+ box.querySelectorAll(".hb-row").forEach(el => {
+ const r = rows[+el.dataset.i];
+ if (r.tip) TIP.bind(el, () => r.tip);
+ if (!r.go) return;
+ el.addEventListener("click", () => { TIP.hide(); r.go(); });
+ el.addEventListener("keydown", e => {
+ if (e.key === "Enter" || e.key === " ") { e.preventDefault(); r.go(); }
+ });
+ });
+}
+
+const pct1 = v => (Math.round(v * 10) / 10).toFixed(1) + "%";
+const list2 = a => a.length < 2 ? a.join("")
+ : a.slice(0, -1).join(", ") + " and " + a[a.length - 1];
+const nf = v => Number(v).toLocaleString("en-US");
+
+
+/* ---------------- each role up close ----------------
+ One role at a time, computed from the same POSTINGS the browser
+ lists, so "See all 895" opens exactly 895 rows. Called once
+ postings.json is in. */
+function initRoleProfiles() {
+ const sec = document.getElementById("role-profile");
+ if (!sec || !POSTINGS.length) return;
+ const $ = id => document.getElementById(id);
+ const all = POSTINGS, N = all.length;
+ const SENS = ["junior", "mid", "senior"];
+ const SENL = { junior: "Junior", mid: "Mid-level", senior: "Senior" };
+
+ /* market-wide figures for the comparison ticks */
+ const share = (rs, f) => rs.length ? 100 * rs.filter(f).length / rs.length : 0;
+ const mSen = SENS.map(s => share(all, r => r.seniority === s));
+ const mCty = {};
+ CORDER.forEach(c => mCty[c] = share(all, r => r.country === c));
+ const mEn = share(all, r => r.language === "en");
+ const mSk = {};
+ all.forEach(r => rSkills(r).forEach(k => mSk[k] = (mSk[k] || 0) + 1));
+
+ const by = {};
+ all.forEach(r => (by[r.role_family] = by[r.role_family] || []).push(r));
+ const roles = Object.keys(by).sort((a, b) =>
+ by[b].length - by[a].length || rlab(a).localeCompare(rlab(b)));
+ const rank = {};
+ roles.forEach((r, i) => rank[r] = i + 1);
+ let cur = roles[0];
+
+ function stats(rf) {
+ const rs = by[rf], n = rs.length;
+ const ages = rs.map(r => r.age_days).filter(v => v != null)
+ .sort((a, b) => a - b);
+ const k = ages.length;
+ const med = !k ? null : k % 2 ? ages[(k - 1) / 2]
+ : (ages[k / 2 - 1] + ages[k / 2]) / 2;
+ const city = {};
+ let noPlace = 0;
+ rs.forEach(r => {
+ if (!r.city || r.city === "unknown") { noPlace++; return; }
+ const key = `${r.country}|${r.city}`;
+ city[key] = (city[key] || 0) + 1;
+ });
+ const sk = {};
+ rs.forEach(r => rSkills(r).forEach(x => sk[x] = (sk[x] || 0) + 1));
+ const cty = {};
+ rs.forEach(r => cty[r.country] = (cty[r.country] || 0) + 1);
+ return {
+ n, med,
+ mean: k ? ages.reduce((s, v) => s + v, 0) / k : null,
+ o60: k ? 100 * ages.filter(v => v > 60).length / k : 0,
+ emp: new Set(rs.map(r => r.company).filter(Boolean)).size,
+ agency: rs.filter(r => r.is_agency).length,
+ en: share(rs, r => r.language === "en"),
+ sen: SENS.map(s => rs.filter(r => r.seniority === s).length),
+ cty, noPlace,
+ places: Object.entries(city)
+ .sort((a, b) => b[1] - a[1] || a[0].localeCompare(b[0])),
+ skills: Object.entries(sk)
+ .sort((a, b) => b[1] - a[1] || a[0].localeCompare(b[0]))
+ };
+ }
+
+ /* chips: data roles, then AI roles, biggest first */
+ $("rp-chips").innerHTML = [["Data roles", r => !isAI(r)],
+ ["AI roles", r => isAI(r)]].map(([lab, f]) =>
+ `<div class="rp-chiprow"><span class="lab">${lab}</span>` +
+ roles.filter(f).map(rf =>
+ `<button type="button" class="chip" data-rf="${esc(rf)}"
+ aria-pressed="false"><i style="background:${rcol(rf, 0)}"></i>` +
+ `${esc(rlab(rf))}<small>${nf(by[rf].length)}</small></button>`)
+ .join("") + `</div>`).join("");
+ $("rp-chips").addEventListener("click", e => {
+ const b = e.target.closest("button[data-rf]");
+ if (!b) return;
+ cur = b.dataset.rf;
+ draw();
+ });
+ $("rp-posts").addEventListener("click", () => openPostings({ family: cur }));
+
+ const num = v => v == null ? "–"
+ : Number.isInteger(v) ? String(v) : v.toFixed(1);
+ const kpi = (l, v, s) =>
+ `<div class="rp-kpi"><span class="l">${l}</span><b>${v}</b>` +
+ `<span>${s}</span></div>`;
+
+ function draw() {
+ const x = stats(cur), col = rcol(cur, 0), name = rlab(cur);
+ const ai = isAI(cur);
+ $("rp-chips").querySelectorAll("button").forEach(b =>
+ b.setAttribute("aria-pressed", String(b.dataset.rf === cur)));
+ $("rp-tag").textContent = ai ? "AI role" : "Data role";
+ $("rp-tag").style.background = ai ? CORAL : STEEL;
+ $("rp-name").textContent = name;
+ $("rp-posts").textContent = `See all ${nf(x.n)} ${name} postings ↓`;
+
+ const top = x.places[0], jr = x.sen[0];
+ $("rp-sum").textContent =
+ `${nf(x.n)} postings from ${nf(x.emp)} employers: ` +
+ `${pct1(100 * x.n / N)} of the market and #${rank[cur]} of ` +
+ `${roles.length} roles. ` +
+ (top ? `${cityName(top[0].split("|")[1])} has the most ` +
+ `(${nf(top[1])}). ` : "") +
+ (jr ? `${nf(jr)} ${jr === 1 ? "is" : "are"} junior ` +
+ `(${pct1(100 * jr / x.n)}).` : "None are junior.");
+
+ $("rp-kpis").innerHTML =
+ kpi("Postings", nf(x.n),
+ `${pct1(100 * x.n / N)} of all · #${rank[cur]} of ${roles.length} roles`) +
+ kpi("Employers", nf(x.emp), x.agency
+ ? `${nf(x.agency)} of the postings come via agencies`
+ : "No postings via agencies") +
+ kpi("Median days online", num(x.med),
+ `Mean ${num(x.mean)}; ${pct1(x.o60)} up for more than 60 days`) +
+ kpi("In English", pct1(x.en), `All roles: ${pct1(mEn)}`);
+
+ /* where */
+ $("rp-where-sub").textContent = x.noPlace
+ ? `Top places; ${nf(x.noPlace)} of its postings name no place`
+ : "Top places for this role";
+ hbars($("rp-where"), x.places.slice(0, 8).map(([k, v]) => {
+ const [c, city] = k.split("|");
+ return {
+ label: cityName(city), sub: c.toUpperCase(), v, color: col,
+ val: nf(v),
+ tip: `<b>${esc(cityName(city))}</b>${esc(name)}<br>` +
+ `<em>${nf(v)}</em> postings · ${pct1(100 * v / x.n)} of this role` +
+ `<br>Click to list them`,
+ go: () => openPostings({ family: cur, country: c, city: k })
+ };
+ }), { lw: 112, empty: "No posting names a place." });
+
+ /* country shares vs the market, under seniority */
+ hbars($("rp-ctry"), CORDER.map(c => {
+ const v = x.cty[c] || 0, p = 100 * v / x.n;
+ return {
+ label: CNAME[c], v: p, m: mCty[c], color: col, val: pct1(p),
+ tip: `<b>${CNAME[c]}</b><em>${pct1(p)}</em> of ${esc(name)} ` +
+ `postings (${nf(v)})<br>All postings: ${pct1(mCty[c])}`
+ };
+ }), { lw: 84, max: 100 });
+
+ /* seniority vs the market */
+ sec.querySelectorAll(".rp-sw").forEach(e => e.style.background = col);
+ hbars($("rp-sen"), SENS.map((s, i) => ({
+ label: SENL[s], v: 100 * x.sen[i] / x.n, m: mSen[i], color: col,
+ val: pct1(100 * x.sen[i] / x.n),
+ tip: `<b>${SENL[s]}</b><em>${pct1(100 * x.sen[i] / x.n)}</em> of ` +
+ `${esc(name)} postings (${nf(x.sen[i])})<br>` +
+ `All postings: ${pct1(mSen[i])}`
+ })), { lw: 84, max: 100 });
+
+ /* skills vs the market */
+ hbars($("rp-skills"), x.skills.slice(0, 8).map(([k, v]) => {
+ const p = 100 * v / x.n, m = 100 * (mSk[k] || 0) / N;
+ return {
+ label: slab(k), v: p, m, color: GENAI.has(k) ? CORAL : STEEL,
+ val: pct1(p),
+ tip: `<b>${esc(slab(k))}</b><em>${pct1(p)}</em> of ${esc(name)} ` +
+ `postings (${nf(v)})<br>All postings: ${pct1(m)}` +
+ (m ? `<br>${(p / m).toFixed(1)}× the market-wide rate` : "")
+ };
+ }), { lw: 130,
+ empty: "Too few skill mentions to rank for this role: the " +
+ "matcher only sees the title and the first 500 " +
+ "characters of each description." });
+ }
+
+ sec.hidden = false;
+ draw();
+ /* the GenAI set may grow once skill_demand.json is in */
+ get("skill_demand").then(sd => {
+ (sd || []).forEach(r => { if (r.skill_category === "genai") GENAI.add(r.skill); });
+ draw();
+ });
+}
+
+
+/* ---------------- AI vocabulary ----------------
+ Top 15 skills, generative-AI ones in coral. */
+get("skill_demand").then(sd => {
+ const sec = document.getElementById("vocab-section");
+ if (!sec || !Array.isArray(sd) || !sd.length) return;
+ sd.forEach(r => { if (r.skill_category === "genai") GENAI.add(r.skill); });
+ const isG = r => GENAI.has(r.skill);
+ const top = sd.slice().sort((a, b) =>
+ b.pct_postings - a.pct_postings || b.n_postings - a.n_postings)
+ .slice(0, 15);
+ if (!top.length) return;
+
+ const max = Math.max(...top.map(r => r.pct_postings)) * 1.04;
+ const rows = top.map(r => ({
+ label: slab(r.skill), v: r.pct_postings,
+ color: isG(r) ? CORAL : STEEL, val: r.pct_postings.toFixed(1) + "%",
+ tip: `<b>${esc(slab(r.skill))}</b><em>${r.pct_postings}%</em> of ` +
+ `postings (${nf(r.n_postings)})` +
+ (isG(r) ? "<br>Generative-AI skill" : "")
+ }));
+ const half = Math.ceil(rows.length / 2);
+ hbars(document.getElementById("vocab-a"), rows.slice(0, half),
+ { lw: 150, max, rank: 1 });
+ hbars(document.getElementById("vocab-b"), rows.slice(half),
+ { lw: 150, max, rank: half + 1 });
+ sec.hidden = false;
+});
+
+
+/* ---------------- runs and the outage ----------------
+ One square per day since the first run, weeks as columns with
+ Monday on top. Read off the same run history as the time charts. */
+RUNS.then(runs => {
+ const sec = document.getElementById("runs-section");
+ const box = document.getElementById("runcal");
+ if (!sec || !box || !runs) return;
+
+ const { first, last, set, gaps } = runs;
+ const nDays = dayList(first, last).length;
+ const live = runs.live || {};
+
+ /* the run streak that ends on the newest day */
+ let streak = 0;
+ for (let d = last; d >= first && set.has(d); d = addDays(d, -1)) streak++;
+ const restart = addDays(last, -(streak - 1));
+ const big = gaps.filter(g => g.outage);
+ const other = gaps.filter(g => !g.outage);
+ const lastOut = big[big.length - 1];
+
+ const sum = other.reduce((s, g) => s + g.n, 0);
+ document.getElementById("runs-gaps").textContent = other.length
+ ? `Shorter gaps: ${list2(other.map(g => fRange(g.from, g.to)))} ` +
+ `(${sum} day${sum === 1 ? "" : "s"} in total).` : "";
+
+ /* calendar; the section must be visible before text is measured */
+ sec.hidden = false;
+ const ns = "http://www.w3.org/2000/svg";
+ const start = mondayOf(first);
+ const nW = Math.floor(dayList(start, last).length / 7) +
+ (dayList(start, last).length % 7 ? 1 : 0);
+ const cell = 20, gap = 4, lab = 32, top = 20;
+ const X = c => lab + c * (cell + gap), Y = r => top + r * (cell + gap);
+ const gridH = 7 * (cell + gap) - gap;
+ const Wd = lab + nW * (cell + gap), Hd = top + gridH + (big.length ? 40 : 8);
+ const svg = document.createElementNS(ns, "svg");
+ svg.setAttribute("viewBox", `0 0 ${Wd} ${Hd}`);
+ svg.setAttribute("role", "img");
+ svg.setAttribute("aria-label", `Run calendar from ${fDay(first)} to ` +
+ `${fDay(last)}: ${runs.days.length} of ${nDays} days have a snapshot.`);
+ const mk = (tag, attrs, parent, text) => {
+ const e = document.createElementNS(ns, tag);
+ for (const k in attrs) e.setAttribute(k, attrs[k]);
+ if (text != null) e.textContent = text;
+ (parent || svg).appendChild(e);
+ return e;
+ };
+ ["Mon", "", "Wed", "", "Fri", "", "Sun"].forEach((t, r) => {
+ if (t) mk("text", { x: lab - 7, y: Y(r) + cell / 2 + 4,
+ "text-anchor": "end", class: "cl-d" }, null, t);
+ });
+ let lastMo = null;
+ for (let c = 0; c < nW; c++) {
+ for (let r = 0; r < 7; r++) {
+ const d = addDays(start, c * 7 + r);
+ if (d < first || d > last) continue;
+ if (d.slice(5, 7) !== lastMo) {
+ lastMo = d.slice(5, 7);
+ mk("text", { x: X(c), y: top - 7, class: "cl-m" }, null,
+ MON3[+lastMo - 1]);
+ }
+ break;
+ }
+ }
+ dayList(first, last).forEach(d => {
+ const k = Math.round((dayTs(d) - dayTs(start)) / 864e5);
+ const c = Math.floor(k / 7), r = k % 7, ran = set.has(d);
+ const g = mk("g", { class: "cl-c", tabindex: 0 });
+ if (ran) mk("rect", { x: X(c), y: Y(r), width: cell, height: cell,
+ rx: 3, class: "cl-on" }, g);
+ else mk("rect", { x: X(c) + .5, y: Y(r) + .5, width: cell - 1,
+ height: cell - 1, rx: 3, class: "cl-off" }, g);
+ const o = !ran && outageIn(d, d);
+ TIP.bind(g, () => `<b>${fDayW(d)} ${d.slice(0, 4)}</b>` + (ran
+ ? `Snapshot written` + (live[d] != null
+ ? `<br><em>${nf(live[d])}</em> live postings` : "")
+ : `No run${o ? ` (${o.why})` : ""}`));
+ });
+ big.forEach(gp => {
+ const cA = Math.floor((dayTs(gp.from) - dayTs(start)) / 864e5 / 7);
+ const cB = Math.floor((dayTs(gp.to) - dayTs(start)) / 864e5 / 7);
+ const by = top + gridH + 9, xa = X(cA), xb = X(cB) + cell;
+ mk("path", { d: `M${xa},${by - 4}V${by}H${xb}V${by - 4}`,
+ class: "cl-br" });
+ const t = mk("text", { x: (xa + xb) / 2, y: by + 17,
+ "text-anchor": "middle", class: "cl-bt" }, null,
+ `${fRange(gp.from, gp.to)} · due to ${gp.outage.why}`);
+ /* keep the label inside the calendar */
+ if (!svg.parentNode) box.appendChild(svg);
+ const w = t.getComputedTextLength();
+ if ((xa + xb) / 2 + w / 2 > Wd - 2) {
+ t.setAttribute("text-anchor", "end");
+ t.setAttribute("x", Wd - 2);
+ } else if ((xa + xb) / 2 - w / 2 < 2) {
+ t.setAttribute("text-anchor", "start");
+ t.setAttribute("x", 2);
+ }
+ });
+ if (!svg.parentNode) box.appendChild(svg);
+
+ /* the incident card, for the most recent outage */
+ const card = document.getElementById("runs-incident");
+ if (lastOut && card) {
+ const back = addDays(lastOut.to, 1);
+ card.innerHTML =
+ `<span class="tag">⚠ Incident · ${fRange(lastOut.from, lastOut.to)} ` +
+ `${lastOut.to.slice(0, 4)}</span>` +
+ `<h3>${lastOut.n} days without a run</h3><dl>` +
+ `<div><dt>What happened</dt><dd>The account was blocked ` +
+ `(${lastOut.outage.why}), so the daily job couldn't run.</dd></div>` +
+ `<div><dt>Impact</dt><dd>No snapshots for ${lastOut.n} days, shaded ` +
+ `in the time charts.</dd></div>` +
+ `<div><dt>Recovered</dt><dd>Adverts from those days still online on ` +
+ `${fDay(back)} were counted, as lower bounds.</dd></div>` +
+ (set.has(back) ? `<div><dt>Since</dt><dd>Daily again from ` +
+ `${fDay(back)}` + (restart === back
+ ? `, ${nf(streak)} runs in a row.` : ".") + `</dd></div>` : "") +
+ `</dl>`;
+ } else if (card) card.hidden = true;
+
+ sec.hidden = false;
+});
diff --git a/docs/index.html b/docs/index.html
index d10de96..7e839b6 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -17,35 +17,46 @@
<meta property="og:url" content="https://chrisinho8.github.io/DACH-data-job-market/">
<meta name="twitter:card" content="summary_large_image">
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
-<link rel="stylesheet" href="style.css?v=27">
+<link rel="stylesheet" href="style.css?v=32">
<style>
@media(min-width:721px){
html{zoom:.8}
}
- .grid2{display:grid;grid-template-columns:1fr 1fr;gap:32px}
+ .grid2{display:grid;grid-template-columns:1fr 1fr;gap:22px}
@media(max-width:720px){.grid2{grid-template-columns:1fr}}
- .chartbox{position:relative;height:560px}
+ .chartbox{position:relative;height:480px}
.cbox{position:relative;width:100%}
.grid2.single{grid-template-columns:1fr}
- .grid2.single .chartbox{height:660px}
- @media(max-width:720px){.chartbox,.grid2.single .chartbox{height:460px}}
+ .grid2.single .chartbox{height:520px}
+ @media(max-width:720px){.chartbox,.grid2.single .chartbox{height:400px}}
- .maprow{display:grid;grid-template-columns:1.05fr .95fr;
- gap:28px;align-items:start}
+ .maprow{display:grid;grid-template-columns:1.12fr .88fr;
+ gap:22px;align-items:start}
@media(max-width:720px){.maprow{grid-template-columns:1fr}}
+ /* map: Natural Earth borders on a pale sea, as in the results report */
+ .map-plot{border-radius:14px;overflow:hidden;border:1px solid var(--line);
+ background:#EAF0F2;line-height:0}
#map{width:100%;height:auto;display:block}
- #map .outline{stroke:#E3D5BE;stroke-width:1.3}
- #map .bub{stroke:#FFFFFF;stroke-width:1.2;cursor:pointer;
- transition:opacity .15s}
- #map .bub:hover{opacity:.72}
- #map .lbl{font:600 11px "Inter",system-ui,sans-serif;fill:#26241F;
- paint-order:stroke;stroke:#FFFFFF;stroke-width:3px}
-
- .legend{display:flex;gap:20px;flex-wrap:wrap;margin-top:14px;
+ #map .nb{fill:#F3EEE6;stroke:#E3D9CA;stroke-width:.8;
+ vector-effect:non-scaling-stroke}
+ #map .dach{stroke:#CBBDA7;stroke-width:1;vector-effect:non-scaling-stroke}
+ #map .lake{fill:#DCE6EA;stroke:#C9D7DD;stroke-width:.6;
+ vector-effect:non-scaling-stroke}
+ #map .clab{font:700 12px "Inter",system-ui,sans-serif;letter-spacing:.2em;
+ fill:#ADA393;pointer-events:none}
+ #map .bub{stroke:#FFFFFF;stroke-width:.8;vector-effect:non-scaling-stroke;
+ cursor:pointer;transition:fill-opacity .12s}
+ #map .bub:hover{fill-opacity:.92;stroke:#221F1A;stroke-width:1.6}
+ #map .lbl{font:650 13.5px "Inter",system-ui,sans-serif;fill:#221F1A;
+ paint-order:stroke;stroke:#FFFFFF;stroke-width:3.4px;
+ stroke-linejoin:round;pointer-events:none}
+
+
+ .legend{display:flex;gap:16px;flex-wrap:wrap;margin-top:10px;
font-size:12.5px;color:#5C5A54;align-items:center;
justify-content:center}
.legend .sw{display:inline-block;width:12px;height:12px;
@@ -53,7 +64,7 @@
.legend .dots{display:inline-flex;align-items:center;gap:6px}
.rank{width:100%;border-collapse:collapse;font-size:13.5px}
- .rank td{padding:5px 8px;border-bottom:1px solid #EAE6DC}
+ .rank td{padding:4px 8px;border-bottom:1px solid #EAE6DC}
.rank td:first-child{color:#191919;font-weight:600}
.rank .barcell{width:44%}
/* city + country code never wrap; the bar column gives up the room */
@@ -67,7 +78,7 @@
vertical-align:-1px}
.fl-ch{width:10px;border-radius:0}
- .subh{font-size:19px;margin:0 0 10px;color:#5C5A54;font-weight:600}
+ .subh{font-size:17px;margin:0 0 8px;color:#5C5A54;font-weight:600}
/* collapsible filter panel */
@@ -92,7 +103,7 @@
.pfilterbody[hidden]{display:none}
/* skill picker: deliberately loud, it is the main way in */
- .pskills{margin:18px 0 6px;padding:16px 18px 14px;
+ .pskills{margin:14px 0 4px;padding:14px 16px 12px;
background:#FFF9F0;border:1.5px solid rgba(229,103,67,.35);
border-radius:14px}
.pskills[hidden]{display:none}
@@ -126,7 +137,7 @@
letter-spacing:.02em}
.ptable .tag.on{background:rgba(229,103,67,.16);color:#B04A28}
- .pfilters{display:grid;gap:10px;margin:18px 0 12px;
+ .pfilters{display:grid;gap:10px;margin:14px 0 10px;
grid-template-columns:repeat(5,1fr) auto}
.pfilters input{grid-column:1/-1}
.pfilters input,.pfilters select,.pfilters button{
@@ -155,7 +166,7 @@
font-weight:600;
padding:9px 12px;border-bottom:1px solid #EAE6DC;
background:#FAF9F5;position:sticky;top:0}
- .ptable td{padding:9px 12px;border-bottom:1px solid #F0EEE6;
+ .ptable td{padding:8px 12px;border-bottom:1px solid #F0EEE6;
vertical-align:top}
.ptable tr:last-child td{border-bottom:none}
.ptable tbody tr:hover{background:#FAF9F5}
@@ -190,12 +201,12 @@
color:#B04A28;margin-left:8px;vertical-align:2px}
.hm{display:grid;gap:3px;font-size:12px;margin-top:6px}
- .hm div{padding:9px 6px;text-align:center;border-radius:3px;
+ .hm div{padding:7px 6px;text-align:center;border-radius:3px;
color:#fff;font-weight:600}
.hm .hd{background:none;color:#5C5A54;font-weight:600;
padding:4px 6px}
.hm .rw{background:none;color:#191919;text-align:left;
- font-weight:600;padding:9px 8px 9px 0}
+ font-weight:600;padding:7px 8px 7px 0}
.hm.hm-idx{gap:4px;margin-top:10px;font-size:12px;
grid-auto-rows:34px;max-width:760px}
@@ -229,24 +240,24 @@
display:inline-block}
/* country cards */
- .ctry{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;
- margin-bottom:34px}
+ .ctry{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;
+ margin-bottom:4px}
@media(max-width:720px){.ctry{grid-template-columns:1fr}}
- .cc{border:1px solid var(--line);border-radius:15px;padding:20px 22px;
+ .cc{border:1px solid var(--line);border-radius:15px;padding:16px 18px;
background:#FEFCF8;box-shadow:var(--shadow);
transition:transform .15s ease,box-shadow .15s ease}
.cc:hover{transform:translateY(-3px);box-shadow:var(--shadow-lg)}
- .cc h4{margin:0 0 6px;font-size:24px;font-weight:700;
+ .cc h4{margin:0 0 4px;font-size:21px;font-weight:700;
display:flex;align-items:center;gap:10px}
.cc h4 .fl{width:30px;height:20px;margin-right:0;border-radius:3px;
vertical-align:0;flex:0 0 auto}
.cc h4 .fl-ch{width:20px;border-radius:0}
- .cc .n{font-size:32px;font-weight:700;letter-spacing:-.02em;
+ .cc .n{font-size:29px;font-weight:700;letter-spacing:-.02em;
font-family:"Inter",sans-serif;
line-height:1.15;margin:6px 0 2px}
- .cc .sub{font-size:13.5px;color:#5C5A54;margin:0 0 14px}
- .cc dl{display:grid;grid-template-columns:1fr auto;gap:5px 10px;
- margin:0;font-size:14.5px}
+ .cc .sub{font-size:13.5px;color:#5C5A54;margin:0 0 10px}
+ .cc dl{display:grid;grid-template-columns:1fr auto;gap:4px 10px;
+ margin:0;font-size:14px}
.cc dt{color:#5C5A54}
.cc dd{margin:0;text-align:right;font-weight:600;
font-variant-numeric:tabular-nums}
@@ -260,30 +271,34 @@
.h2when{font-size:inherit;font-weight:inherit;color:inherit;
letter-spacing:inherit;white-space:nowrap}
/* breathing room between a section title and its role pills */
- h2 + .mapctl{margin-top:20px}
+ h2 + .mapctl{margin-top:14px}
/* the trend section stacks role pills over the Show checkboxes,
so the two rows need air between them */
- #trend-section .ctlrow-roles{margin-bottom:22px}
- .byline{margin:14px 0 0;font-size:18.5px;color:var(--slate)}
+ #trend-section .ctlrow-roles{margin-bottom:12px}
+ .byline{margin:10px 0 0;font-size:17px;color:var(--slate)}
.byline a{display:inline-flex;align-items:center;gap:6px}
- .byline .li{flex:0 0 auto;position:relative;top:-1px;border-radius:5px}
+ .byline .li{flex:0 0 auto;position:relative;top:-1px;border-radius:5px;
+ width:23px;height:23px}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;
clip:rect(0 0 0 0);white-space:nowrap}
.byline a{color:var(--coral);text-decoration:none;
border-bottom:1px solid rgba(217,119,87,.35)}
.byline a:hover{border-bottom-color:var(--coral)}
+ /* the GitHub icon next to the LinkedIn one: icon only, no underline */
+ .byline a.gh{border-bottom:0;margin-left:8px;vertical-align:middle}
+ .byline a.gh:hover svg{opacity:.8}
/* This section is nothing but the panel, so it drops the white card
every other section sits in - otherwise it is a card in a card. */
.kpiblock{background:none;border:0;box-shadow:none;
- padding:0;margin-bottom:36px}
+ padding:0;margin-bottom:24px}
.ovw{border:1px solid var(--line);border-radius:16px;
background:var(--card);box-shadow:var(--shadow);overflow:hidden;
margin-bottom:0}
- .ovw-lead{padding:34px 26px 32px;text-align:center;
+ .ovw-lead{padding:24px 22px 22px;text-align:center;
border-bottom:1px solid var(--line);
background:var(--card);
position:relative}
@@ -291,20 +306,20 @@
font-size:13.5px;font-weight:700;letter-spacing:.16em;
text-transform:uppercase;color:#A8A196}
.calico{color:var(--coral);flex:0 0 auto;position:relative;top:-.5px}
- .ovw-lead b{display:block;margin-top:10px;
- font-size:clamp(34px,6.2vw,58px);
+ .ovw-lead b{display:block;margin-top:8px;
+ font-size:clamp(30px,5.4vw,50px);
font-weight:700;letter-spacing:-.03em;line-height:1;
color:var(--ink)}
- .ovw-lead .sub2{display:block;margin-top:14px;font-size:17px;
+ .ovw-lead .sub2{display:block;margin-top:10px;font-size:16px;
color:#8A857C}
.ovw-row{display:grid;grid-template-columns:repeat(4,1fr)}
- .ovw-cell{padding:26px 20px 28px;text-align:center;
+ .ovw-cell{padding:18px 16px 20px;text-align:center;
position:relative}
.ovw-cell+.ovw-cell::before{content:"";position:absolute;
left:0;top:18px;bottom:18px;width:1px;background:var(--line)}
/* same face, weight and tracking as the country-card figures */
- .ovw-cell b{display:block;font-size:30px;font-weight:700;
+ .ovw-cell b{display:block;font-size:27px;font-weight:700;
font-family:"Inter",sans-serif;letter-spacing:-.02em;
line-height:1.1;color:var(--ink);
font-variant-numeric:tabular-nums}
@@ -312,7 +327,7 @@
margin-top:9px;font-size:15px;font-weight:600;
color:var(--ink)}
.ovw-cell .dot{width:8px;height:8px;border-radius:50%;flex:0 0 auto}
- .ovw-cell .sub2{display:block;margin:5px auto 0;font-size:15px;
+ .ovw-cell .sub2{display:block;margin:4px auto 0;font-size:14px;
line-height:1.45;color:#8A857C;max-width:24ch;
text-wrap:pretty}
@media(max-width:860px){
@@ -340,7 +355,7 @@
border-radius:2px;margin-right:6px}
- .ctot{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 18px}
+ .ctot{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px}
.ctot .c{display:flex;align-items:baseline;gap:6px;padding:8px 12px;
border:1px solid var(--line);border-radius:11px;
background:#FDFAF4;box-shadow:var(--shadow);
@@ -363,8 +378,8 @@
.ctot .c::after{content:attr(data-ab);font-size:11px;color:#5C5A54}
}
- .mapctl{margin:0 0 20px}
- .ctlrow{display:flex;align-items:center;gap:12px;margin-bottom:12px}
+ .mapctl{margin:0 0 14px}
+ .ctlrow{display:flex;align-items:center;gap:12px;margin-bottom:9px}
.ctlrow-roles{align-items:flex-start;margin-bottom:0}
.mapctl .pick{margin:0;flex:1}
.ctl-lab{flex:0 0 74px;font-size:12.5px;font-weight:600;
@@ -393,9 +408,9 @@
#leg-heat em{font-style:normal;white-space:nowrap}
.legend[hidden]{display:none}
- .pick{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 20px}
+ .pick{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 12px}
.pick button{font:600 12.5px/1 "Inter",system-ui,sans-serif;
- cursor:pointer;padding:8px 13px;border-radius:99px;
+ cursor:pointer;padding:7px 12px;border-radius:99px;
border:1px solid var(--line);
background:#FDFAF4;color:var(--slate);transition:.12s}
.pick button:hover{border-color:var(--clay);color:var(--ink);
@@ -428,7 +443,7 @@
.hm .hcell:focus-visible{outline:2px solid var(--ink);outline-offset:1px}
- .cmp{display:grid;gap:16px 20px;margin:0 0 26px;
+ .cmp{display:grid;gap:12px 18px;margin:0 0 18px;
grid-template-columns:repeat(2,minmax(0,310px));
align-items:end}
@media(max-width:620px){.cmp{grid-template-columns:1fr}}
@@ -468,7 +483,7 @@
.rank-city th.num,
.rank-city td.num{text-align:center}
/* drop the radar chart's neighbour to roughly the plot's eye line */
- .subh.figs{margin-top:54px}
+ .subh.figs{margin-top:40px}
@media(max-width:720px){.subh.figs{margin-top:18px}}
#cmptable{font-size:15.5px}
#cmptable td{padding:8px 10px}
@@ -495,9 +510,9 @@
<div class="navlinks">
<a href="#geo">Map</a>
<a href="#postings-section">Postings</a>
- <a href="#skillrole-section">Skills</a>
- <a href="#ai-section">AI roles</a>
- <a href="#roles">Roles</a>
+ <a href="#vocab-section">Skills</a>
+ <a href="#role-profile">Role profiles</a>
+ <a href="#runs-section">Runs</a>
<a href="#limitations">Limitations</a>
</div>
</div>
@@ -527,7 +542,26 @@
1.57 1.57 0 0 0 0 3.13zM19.6 19h-2.7v-4.78c0-1.14-.02-2.6-1.59-2.6
-1.59 0-1.83 1.24-1.83 2.52V19h-2.7V9.2h2.59v1.34h.04c.36-.68
1.24-1.4 2.55-1.4 2.73 0 3.24 1.8 3.24 4.13V19z"/></svg
- ><span class="sr-only"> (LinkedIn)</span></a>
+ ><span class="sr-only"> (LinkedIn)</span></a><a class="gh" href="https://github.com/Chrisinho8"
+ target="_blank" rel="noopener" title="GitHub"><svg class="li"
+ viewBox="0 0 24 24" width="16" height="16" aria-hidden="true"
+ focusable="false"><rect width="24" height="24" rx="5"
+ fill="#24292F"/><path fill="#fff" transform="translate(4 4)"
+ d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38
+ 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82
+ -1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87
+ 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31
+ -1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32
+ -.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92
+ .08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73
+ .54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0
+ 16 8c0-4.42-3.58-8-8-8z"/></svg><span class="sr-only">GitHub</span></a><a class="gh" href="#" data-mail="christoph.rucki|gmail.com"
+ title="Email"><svg class="li" viewBox="0 0 24 24" width="16"
+ height="16" aria-hidden="true" focusable="false"><rect width="24"
+ height="24" rx="5" fill="#EA4335"/><path fill="none" stroke="#fff"
+ stroke-width="1.8" stroke-linejoin="round"
+ d="M5.5 7.5h13v9h-13zM5.9 7.9 12 12.6l6.1-4.7"/></svg><span
+ class="sr-only">Email</span></a>
</p>
</div>
</header>
@@ -590,8 +624,11 @@
<div class="ctot" id="ctrytot"></div>
<div class="maprow">
<div>
- <svg id="map" viewBox="0 0 640 800"
- xmlns="http://www.w3.org/2000/svg"></svg>
+ <div class="map-plot">
+ <svg id="map" viewBox="0 0 600 727" role="img"
+ aria-label="Map of live postings by place in Germany, Austria and Switzerland"
+ xmlns="http://www.w3.org/2000/svg"></svg>
+ </div>
<div class="legend" id="leg-bubbles">
<span><i class="sw" style="background:#E56743"></i>Germany</span>
<span><i class="sw" style="background:#5C87A8"></i>Austria</span>
@@ -721,7 +758,8 @@
<p class="note">
Everyday a point is added, nothing is overwritten. Days open
and posting volume come from the same daily runs that feed the
- rest of the page. Tracking started on 08-08-2026.
+ rest of the page. Tracking started on 08-08-2026. Shaded days had
+ no pipeline run and stay empty; nothing is interpolated.
</p>
<div class="mapctl">
<div class="ctlrow ctlrow-roles">
@@ -749,6 +787,12 @@
<section id="newposts-section" hidden>
<h2>New job postings per day (tracking since 27.08.2026)
<span class="np-since"></span></h2>
+ <p class="note">
+ Counted by the day Adzuna lists the advert. Each colour is one
+ week, Monday to Sunday. Lighter bars are lower bounds: on days
+ without a pipeline run only adverts still online at the next run
+ were counted, and the newest day is still in progress.
+ </p>
<div class="mapctl">
<div class="ctlrow ctlrow-roles">
<span class="ctl-lab">Role</span>
@@ -775,6 +819,22 @@
</div>
</div>
<canvas id="npchart" height="220"></canvas>
+ <ul class="nplegend" id="nplegend" hidden></ul>
+ </section>
+
+ <section id="vocab-section" class="compact" hidden>
+ <h2>The 15 most-mentioned skills</h2>
+ <p class="note">Share of postings that mention each skill.</p>
+ <ul class="leg-inline">
+ <li><i style="background:#E56743"></i>Generative-AI skills</li>
+ <li><i style="background:#5C87A8"></i>Other skills</li>
+ </ul>
+ <div class="vocab-cols">
+ <div class="hb" id="vocab-a"></div>
+ <div class="hb" id="vocab-b"></div>
+ </div>
+ <p class="fine">Matched in the title and the first 500 characters
+ of each description, so shares are floors.</p>
</section>
<section id="skillrole-section" hidden>
@@ -806,44 +866,60 @@
</div>
</section>
- <section id="ai-section" hidden>
- <h2>Which AI roles are companies hiring for?</h2>
- <p class="note">
- </p>
- <div class="grid2">
- <div>
- <h3 class="subh">Postings per AI role</h3>
- <canvas id="aivol" height="230"></canvas>
- </div>
- <div>
- <h3 class="subh">Average days open per AI role</h3>
- <canvas id="aiage" height="230"></canvas>
+ <section id="role-profile" class="compact" hidden>
+ <h2>Each role up close</h2>
+ <p class="note">Pick a role. Everything below is for that role only,
+ from the latest run, and the button lists its postings.</p>
+ <div class="rp-chips" id="rp-chips" role="group"
+ aria-label="Choose a role"></div>
+ <div class="rp-head">
+ <div class="rp-title"><span class="rp-tag" id="rp-tag"></span>
+ <h3 id="rp-name"></h3></div>
+ <button class="rp-go" type="button" id="rp-posts"></button>
+ <p class="rp-sum" id="rp-sum" aria-live="polite"></p>
+ </div>
+ <div class="rp-kpis" id="rp-kpis"></div>
+ <div class="rp-grid">
+ <figure class="rp-card">
+ <h4>Where</h4>
+ <p class="rp-sub" id="rp-where-sub"></p>
+ <div class="hb" id="rp-where"></div>
+ <p class="rp-foot">Click a place to list its postings</p>
+ </figure>
+ <div class="rp-stack">
+ <figure class="rp-card">
+ <h4>Seniority</h4>
+ <p class="rp-sub">Share of this role's postings by level</p>
+ <div class="hb" id="rp-sen"></div>
+ <ul class="leg-inline sm">
+ <li><i class="rp-sw"></i>This role</li>
+ <li><b class="tk"></b>All postings</li>
+ </ul>
+ </figure>
+ <figure class="rp-card">
+ <h4>Country</h4>
+ <p class="rp-sub">Share of this role's postings by country</p>
+ <div class="hb" id="rp-ctry"></div>
+ <ul class="leg-inline sm">
+ <li><i class="rp-sw"></i>This role</li>
+ <li><b class="tk"></b>All postings</li>
+ </ul>
+ </figure>
</div>
+ <figure class="rp-card">
+ <h4>Skills asked for</h4>
+ <p class="rp-sub">Share of this role's postings naming each
+ skill (top 8)</p>
+ <div class="hb" id="rp-skills"></div>
+ <ul class="leg-inline sm">
+ <li><i style="background:#E56743"></i>GenAI</li>
+ <li><i style="background:#5C87A8"></i>Other</li>
+ <li><b class="tk"></b>All postings</li>
+ </ul>
+ </figure>
</div>
</section>
- <section id="roles">
- <h2>Role and seniority distribution per country</h2>
- <p class="note">
- </p>
- <div class="seg" id="heatseg" style="margin:0 0 12px">
- <button type="button" data-c="" aria-pressed="true">All DACH</button>
- <button type="button" data-c="de" aria-pressed="false"><svg class="fl"
- viewBox="0 0 15 10" aria-hidden="true"><rect width="15" height="10"
- fill="#262626"/><rect y="3.4" width="15" height="6.6" fill="#CE2029"/><rect
- y="6.7" width="15" height="3.3" fill="#F0B637"/></svg>Germany</button>
- <button type="button" data-c="at" aria-pressed="false"><svg class="fl"
- viewBox="0 0 15 10" aria-hidden="true"><rect width="15" height="10"
- fill="#CE2029"/><rect y="3.4" width="15" height="3.3"
- fill="#FFFFFF"/></svg>Austria</button>
- <button type="button" data-c="ch" aria-pressed="false"><svg class="fl fl-ch"
- viewBox="0 0 10 10" aria-hidden="true"><rect width="10" height="10"
- rx="1.5" fill="#CE2029"/><rect x="4.1" y="2" width="1.8" height="6"
- fill="#FFFFFF"/><rect x="2" y="4.1" width="6" height="1.8"
- fill="#FFFFFF"/></svg>Switzerland</button>
- </div>
- <div id="heat" class="hm"></div>
- </section>
<section>
<h2>How long do postings stay open?</h2>
<div class="mapctl">
@@ -871,6 +947,23 @@
<canvas id="empvol" height="260"></canvas>
</section>
+ <section id="runs-section" class="compact" hidden>
+ <h2>Daily pipeline runs</h2>
+ <p class="note">Which days the pipeline ran and wrote a snapshot,
+ and what happened when it didn't.</p>
+ <div class="runs-grid">
+ <figure class="runs-cal">
+ <ul class="leg-inline sm">
+ <li><i style="background:#5C87A8"></i>Snapshot written</li>
+ <li><i class="empty"></i>No run</li>
+ </ul>
+ <div id="runcal"></div>
+ <p class="fine" id="runs-gaps"></p>
+ </figure>
+ <div class="incident" id="runs-incident"></div>
+ </div>
+ </section>
+
<section>
<h2>The pipeline's own error rates</h2>
<p class="note" id="n14-note">
@@ -950,10 +1043,34 @@
1.57 1.57 0 0 0 0 3.13zM19.6 19h-2.7v-4.78c0-1.14-.02-2.6-1.59-2.6
-1.59 0-1.83 1.24-1.83 2.52V19h-2.7V9.2h2.59v1.34h.04c.36-.68
1.24-1.4 2.55-1.4 2.73 0 3.24 1.8 3.24 4.13V19z"/></svg
- ><span class="sr-only"> (LinkedIn)</span></a>
+ ><span class="sr-only"> (LinkedIn)</span></a><a class="gh" href="https://github.com/Chrisinho8"
+ target="_blank" rel="noopener" title="GitHub"><svg class="li"
+ viewBox="0 0 24 24" width="16" height="16" aria-hidden="true"
+ focusable="false"><rect width="24" height="24" rx="5"
+ fill="#24292F"/><path fill="#fff" transform="translate(4 4)"
+ d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38
+ 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82
+ -1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87
+ 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31
+ -1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32
+ -.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92
+ .08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73
+ .54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0
+ 16 8c0-4.42-3.58-8-8-8z"/></svg><span class="sr-only">GitHub</span></a><a class="gh" href="#" data-mail="christoph.rucki|gmail.com"
+ title="Email"><svg class="li" viewBox="0 0 24 24" width="16"
+ height="16" aria-hidden="true" focusable="false"><rect width="24"
+ height="24" rx="5" fill="#EA4335"/><path fill="none" stroke="#fff"
+ stroke-width="1.8" stroke-linejoin="round"
+ d="M5.5 7.5h13v9h-13zM5.9 7.9 12 12.6l6.1-4.7"/></svg><span
+ class="sr-only">Email</span></a>
&middot;
Data from <a href="https://developer.adzuna.com"
target="_blank" rel="noopener">Adzuna</a>
+ &middot;
+ Map: <a href="https://www.naturalearthdata.com"
+ target="_blank" rel="noopener">Natural Earth</a>,
+ places <a href="https://www.geonames.org"
+ target="_blank" rel="noopener">GeoNames</a> (CC BY 4.0)
</p>
</footer>
@@ -961,7 +1078,7 @@
<div id="maptip" role="tooltip"></div>
-<script src="app.js?v=20"></script>
+<script src="app.js?v=27"></script>
diff --git a/docs/style.css b/docs/style.css
index fcd3e44..c843515 100644
--- a/docs/style.css
+++ b/docs/style.css
@@ -71,7 +71,7 @@ h1,h2,h3,h4{font-family:"Inter",system-ui,sans-serif}
/* padding must live here, not on bare `main` - the `.wrap` rule's
`padding:0 24px` shorthand outranks an element selector and was
silently zeroing the vertical padding. */
-main.wrap{max-width:1000px;padding:72px 24px 90px}
+main.wrap{max-width:1000px;padding:44px 24px 64px}
/* prose runs the full container width, same as charts and tables */
main h2{max-width:none}
main .note,
@@ -86,26 +86,26 @@ header{
radial-gradient(520px 300px at 5% 90%,rgba(229,103,67,.10),transparent 70%),
linear-gradient(160deg,#FBF2E3,#F6E9D6);
border-bottom:1px solid var(--line);
- padding:72px 0 44px;
+ padding:54px 0 34px;
position:relative;
overflow:hidden;
text-align:center;
}
header .wrap{max-width:1040px}
h1{
- font-size:46px;
+ font-size:42px;
line-height:1.1;
letter-spacing:-.02em;
font-weight:700;
- margin:0 auto 18px;
+ margin:0 auto 14px;
max-width:34ch;
text-wrap:balance;
}
.sub{
- font-size:20px;
+ font-size:18.5px;
color:var(--slate);
max-width:78ch;
- margin:0 auto 22px;
+ margin:0 auto 14px;
text-wrap:pretty;
}
.sub strong{color:var(--ink)}
@@ -120,7 +120,7 @@ h1{
background:var(--card);
border:1px solid var(--line);
border-radius:14px;
- padding:18px 20px;
+ padding:14px 16px;
text-align:center;
box-shadow:var(--shadow);
transition:transform .15s ease,box-shadow .15s ease;
@@ -129,7 +129,7 @@ h1{
.stat b{
display:block;
font-family:"Inter",sans-serif;
- font-size:28px;
+ font-size:25px;
font-weight:700;
letter-spacing:-.02em;
color:var(--ink);
@@ -148,27 +148,27 @@ section{
border:1px solid var(--line);
border-radius:var(--radius);
box-shadow:var(--shadow);
- padding:30px 34px 34px;
- margin-bottom:36px;
+ padding:24px 28px 26px;
+ margin-bottom:24px;
}
h2{
- font-size:26px;
+ font-size:24px;
font-weight:700;
letter-spacing:-.01em;
- margin:0 0 6px;
+ margin:0 0 4px;
border-bottom:0;
position:relative;
}
.note{
- font-size:18px;
+ font-size:16.5px;
color:var(--slate);
- margin:10px 0 24px;
+ margin:6px 0 16px;
}
.note strong{color:var(--ink)}
/* the error-rate caveat is a footnote to the four cards below it,
so it sits a step under the other section notes */
-#n14-note{font-size:16.5px;margin-bottom:20px}
+#n14-note{font-size:15.5px;margin-bottom:14px}
canvas{max-width:100%}
/* ---------- table ---------- */
@@ -197,11 +197,11 @@ td:first-child{color:var(--ink)}
background:linear-gradient(160deg,#FBF3E4,#F7ECD9);
border:1px solid #EEDFC4;
border-radius:var(--radius);
- padding:30px 34px;
+ padding:22px 28px;
}
.caveats h2{border:0;padding:0;font-size:24px;margin:0;
flex:1 1 auto;min-width:0}
-.caveats ul{margin:14px 0 0;padding-left:20px;font-size:17px;
+.caveats ul{margin:12px 0 0;padding-left:20px;font-size:16px;
color:var(--slate)}
.caveats li{margin-bottom:10px}
.caveats strong{color:var(--ink)}
@@ -233,7 +233,7 @@ td:first-child{color:var(--ink)}
/* ---------- footer ---------- */
footer{
border-top:1px solid var(--line);
- padding-top:40px;
+ padding-top:28px;
padding-bottom:8px;
font-size:14px;
color:var(--slate);
@@ -242,10 +242,10 @@ footer{
footer .byline{margin-left:auto;margin-right:auto;font-size:16px;
line-height:1.5}
footer .byline a{font-weight:600}
-footer .byline .li{width:16px;height:16px}
+footer .byline .li{width:21px;height:21px}
@media(max-width:600px){
footer .byline{font-size:15px}
- footer .byline .li{width:15px;height:15px}
+ footer .byline .li{width:20px;height:20px}
}
a{color:var(--clay)}
a:hover{color:var(--coral)}
@@ -253,7 +253,7 @@ a:hover{color:var(--coral)}
@media(max-width:600px){
h1{font-size:31px}
header{padding:48px 0 36px}
- section{padding:22px 18px 26px;border-radius:14px}
+ section{padding:18px 16px 20px;border-radius:14px}
.stat b{font-size:23px}
}
@@ -263,8 +263,8 @@ a:hover{color:var(--coral)}
#newposts-section .np-since{
font-size:17px;font-weight:600;color:#191919;
vertical-align:middle;white-space:nowrap;margin-left:10px}
-#newposts-section .ctlrow-roles{margin-bottom:22px}
-#newposts-section .ctlrow{margin-bottom:14px}
+#newposts-section .ctlrow-roles{margin-bottom:12px}
+#newposts-section .ctlrow{margin-bottom:9px}
.npkpis{display:flex;gap:48px;flex-wrap:wrap;justify-content:center;margin:14px 0 22px}
.npkpi{
@@ -285,3 +285,169 @@ a:hover{color:var(--coral)}
color:#6B6558;font-weight:600;margin-right:0;box-shadow:none}
#nprange button:first-child[aria-pressed="true"]{
background:#E56743;border-color:#E56743;color:#fff}
+/* same for the Daily / Weekly switch: "Daily" is not a reset pill */
+#trendgran button:first-child{background:#FDFAF4;border:1px solid #EDE4D3;
+ color:#6B6558;font-weight:600;margin-right:0;box-shadow:none}
+#trendgran button:first-child[aria-pressed="true"]{
+ background:#E56743;border-color:#E56743;color:#fff}
+
+/* ---------- legends shared by the time charts ---------- */
+.nplegend{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 18px;
+ list-style:none;margin:10px 0 0;padding:0;font-size:12.5px;color:var(--slate)}
+.nplegend li{display:flex;align-items:center;gap:7px}
+.nplegend .wkchips{display:inline-flex;gap:2px}
+.nplegend .wkchips i{width:7px;height:12px;border-radius:2px}
+.nplegend .sw{display:inline-block;width:12px;height:12px;border-radius:3px}
+.nplegend .sw.lb{background:#5C87A859}
+.nplegend .sw.band{background:#F2EADD;box-shadow:inset 0 0 0 1px #E6DCCB}
+.nplegend .ln{display:inline-block;width:18px;height:2px;border-radius:2px;
+ background:#2E2A24}
+
+/* ---------- new compact sections (role profiles, AI vocabulary, runs) ---------- */
+section.compact{padding:22px 26px 22px}
+section.compact h2{font-size:22px}
+section.compact .note{font-size:15.5px;margin:4px 0 12px}
+.fine{font-size:12.5px;color:#8A857C;margin:10px 0 0;line-height:1.45}
+
+.leg-inline{display:flex;flex-wrap:wrap;gap:4px 16px;list-style:none;
+ margin:0 0 10px;padding:0;font-size:12.5px;color:var(--slate)}
+.leg-inline li{display:flex;align-items:center;gap:6px}
+.leg-inline i{display:inline-block;width:11px;height:11px;border-radius:3px}
+.leg-inline i.empty{background:#fff;box-shadow:inset 0 0 0 1px #C9BEAC}
+.leg-inline .tk{display:inline-block;width:2px;height:13px;border-radius:2px;
+ background:#4A453C}
+.leg-inline.sm{margin:8px 0 0;font-size:12px;gap:4px 12px}
+
+/* small HTML bar lists */
+.hb{display:grid;gap:1px}
+.hb-row{display:grid;grid-template-columns:var(--lw,104px) minmax(0,1fr);
+ align-items:center;gap:10px;min-height:23px;padding:0 4px;border-radius:6px;
+ font-size:13px;line-height:1.2}
+.hb-row.clk{cursor:pointer}
+.hb-row.clk:hover,.hb-row.clk:focus-visible{background:var(--cream);outline:none}
+.hb-lab{text-align:right;color:var(--ink);white-space:nowrap;overflow:hidden;
+ text-overflow:ellipsis}
+.hb-lab small{font-size:10.5px;font-weight:700;letter-spacing:.04em;color:#8A857C}
+.hb-lab .rk{font-style:normal;font-size:11px;color:#A8A196;margin-right:6px;
+ font-variant-numeric:tabular-nums}
+.hb-track{position:relative;height:14px;margin-right:48px}
+.hb-track::before{content:"";position:absolute;left:0;top:-5px;bottom:-5px;
+ width:1px;background:#D3C8B6}
+.hb-bar{position:absolute;left:0;top:1px;height:12px;border-radius:0 4px 4px 0}
+.hb-tick{position:absolute;top:-2px;width:2px;height:18px;margin-left:-1px;
+ border-radius:2px;background:#4A453C}
+.hb-val{position:absolute;top:50%;transform:translateY(-50%);margin-left:6px;
+ font-size:12.5px;font-weight:650;color:var(--ink);white-space:nowrap;
+ font-variant-numeric:tabular-nums}
+.hb-empty{font-size:13px;color:#8A857C;margin:4px 0}
+
+/* AI vocabulary: the top 15 in two short columns */
+.vocab-cols{display:grid;grid-template-columns:1fr 1fr;gap:0 30px}
+@media(max-width:760px){.vocab-cols{grid-template-columns:1fr}}
+
+/* role profiles */
+.rp-chips{display:grid;gap:6px;margin:2px 0 14px}
+.rp-chiprow{display:flex;flex-wrap:wrap;align-items:center;gap:5px}
+.rp-chiprow .lab{flex:none;width:84px;font-size:11px;font-weight:700;
+ letter-spacing:.07em;text-transform:uppercase;color:#8A857C}
+.chip{font:500 13px/1.2 "Inter",system-ui,sans-serif;color:var(--ink);
+ background:#FDFAF4;border:1px solid var(--line);border-radius:99px;
+ padding:5px 11px;cursor:pointer;display:inline-flex;align-items:center;gap:6px;
+ transition:background .12s}
+.chip i{width:8px;height:8px;border-radius:50%;flex:none}
+.chip small{font-size:11.5px;color:#8A857C;font-variant-numeric:tabular-nums}
+.chip:hover{background:var(--cream)}
+.chip[aria-pressed="true"]{background:var(--ink);border-color:var(--ink);color:#fff}
+.chip[aria-pressed="true"] small{color:rgba(255,255,255,.7)}
+.chip:focus-visible{outline:2px solid var(--clay);outline-offset:2px}
+@media(max-width:600px){
+ .rp-chiprow .lab{width:100%}
+ .chip{font-size:12px;padding:4px 9px;gap:5px}
+}
+.rp-head{display:flex;flex-wrap:wrap;align-items:center;
+ justify-content:space-between;gap:6px 16px;padding-top:14px;
+ border-top:1px solid var(--line)}
+.rp-title{display:flex;align-items:center;gap:10px}
+.rp-title h3{margin:0;font-size:22px;font-weight:700;letter-spacing:-.01em;
+ line-height:1.2}
+.rp-tag{font-size:10.5px;font-weight:700;letter-spacing:.06em;
+ text-transform:uppercase;color:#fff;border-radius:99px;padding:3px 9px}
+.rp-go{font:600 13px/1 "Inter",system-ui,sans-serif;color:#fff;
+ background:var(--ink);border:0;border-radius:9px;padding:9px 13px;cursor:pointer}
+.rp-go:hover{background:#3A352D}
+.rp-go:focus-visible{outline:2px solid var(--clay);outline-offset:2px}
+.rp-sum{flex-basis:100%;margin:0;font-size:15px;color:var(--slate)}
+.rp-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;
+ margin:12px 0}
+.rp-kpi{border:1px solid var(--line);border-radius:12px;padding:10px 14px;
+ background:#FDFAF4}
+.rp-kpi .l{display:block;font-size:12px;font-weight:600;color:#8A857C}
+.rp-kpi b{display:block;font-size:23px;font-weight:700;letter-spacing:-.02em;
+ line-height:1.2;margin:2px 0 2px;font-variant-numeric:tabular-nums}
+.rp-kpi span:last-child{display:block;font-size:12.5px;color:var(--slate);
+ line-height:1.35}
+.rp-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
+.rp-card{margin:0;border:1px solid var(--line);border-radius:12px;
+ padding:12px 12px 12px;min-width:0}
+.rp-card h4{margin:0;font-size:14.5px;font-weight:650}
+.rp-sub{margin:1px 0 8px;font-size:12px;color:#8A857C;line-height:1.35}
+.rp-foot{margin:8px 0 0;font-size:12px;color:var(--slate);line-height:1.5}
+.rp-foot b{color:var(--ink);font-variant-numeric:tabular-nums}
+@media(max-width:860px){
+ .rp-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
+ .rp-grid{grid-template-columns:1fr}
+}
+
+/* runs and the outage */
+.runs-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);
+ gap:14px;align-items:start}
+@media(max-width:760px){.runs-grid{grid-template-columns:1fr}}
+.runs-cal{margin:0;border:1px solid var(--line);border-radius:12px;
+ padding:12px 14px}
+.runs-cal .leg-inline{margin:0 0 6px}
+#runcal svg{display:block;width:100%;height:auto;max-width:440px}
+#runcal .cl-d,#runcal .cl-m{font:500 11px "Inter",system-ui,sans-serif;fill:#8A857C}
+#runcal .cl-m{font-weight:600}
+#runcal .cl-on{fill:#5C87A8}
+#runcal .cl-off{fill:#fff;stroke:#C9BEAC}
+#runcal .cl-c{outline:none;cursor:default}
+#runcal .cl-c:hover rect,#runcal .cl-c:focus rect{filter:brightness(1.12)}
+#runcal .cl-c:hover .cl-off{fill:#F6F1E8}
+#runcal .cl-br{fill:none;stroke:#4A453C}
+#runcal .cl-bt{font:650 12px "Inter",system-ui,sans-serif;fill:#221F1A}
+.incident{border:1px solid var(--line);border-radius:12px;padding:14px 16px;
+ background:#FDFAF4}
+.incident .tag{display:inline-flex;align-items:center;gap:6px;font-size:11.5px;
+ font-weight:700;letter-spacing:.04em;color:#fff;background:var(--ink);
+ border-radius:99px;padding:3px 10px;margin:0 0 8px}
+.incident h3{font-size:17px;margin:0 0 8px;letter-spacing:-.01em}
+.incident dl{margin:0;display:grid;gap:8px}
+.incident dt{font-size:11px;font-weight:700;letter-spacing:.06em;
+ text-transform:uppercase;color:#8A857C}
+.incident dd{margin:1px 0 0;font-size:13.5px;color:var(--slate);line-height:1.45}
+
+/* role profiles, a little roomier; legends sit on the cards' bottom
+ edge so the three cards line up */
+#role-profile{padding:26px 30px 28px}
+#role-profile .note{margin:4px 0 16px}
+#role-profile .rp-chips{gap:10px;margin:0 0 20px}
+#role-profile .rp-chiprow{gap:7px}
+#role-profile .chip{padding:6px 12px}
+#role-profile .rp-head{padding-top:20px;gap:8px 16px}
+#role-profile .rp-sum{margin-top:2px}
+#role-profile .rp-kpis{gap:14px;margin:18px 0 16px}
+#role-profile .rp-kpi{padding:14px 16px}
+#role-profile .rp-kpi b{margin:4px 0 4px}
+#role-profile .rp-grid{gap:14px}
+#role-profile .rp-card{display:flex;flex-direction:column;padding:16px 16px 14px}
+#role-profile .rp-sub{margin:2px 0 10px}
+#role-profile .rp-h2{margin-top:16px}
+#role-profile .hb{gap:3px}
+#role-profile .hb-row{min-height:26px}
+#role-profile .rp-card .leg-inline,#role-profile .rp-foot{margin-top:auto;padding-top:12px}
+#role-profile .rp-foot{color:#8A857C}
+@media(max-width:600px){#role-profile{padding:20px 16px 22px}}
+
+/* Seniority and Country: two panels stacked in the middle column */
+#role-profile .rp-stack{display:flex;flex-direction:column;gap:14px;min-width:0}
+#role-profile .rp-stack .rp-card{flex:1}