Ny visualisering: lønnsutvikling basert på SSB-data 2016–2025

Datadriven side (ingen slidere) som viser dobbel ulikhet i norsk
lønnsutvikling: høytlønte fikk både flere kroner OG høyere
prosentvekst. Data fra SSB tabell 11418 via PxWeb API v2.

Inneholder tre diagrammer: månedslønn over tid, kronevekst vs
prosentvekst (dobbel akse), og alle STYRK-hovedyrkesgrupper.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Ole-Morten Duesund 2026-03-16 19:25:54 +01:00
commit dd8eb4042f
5 changed files with 441 additions and 0 deletions

View file

@ -26,6 +26,7 @@ Each calculator directory contains two files following the same pattern:
- **`public/sparing/`** — Compound interest: same savings, different returns. Model: `FV = P × ((1+r)^n - 1) / r` (monthly compounding). Stacked bar chart for deposits vs interest.
- **`public/bolig/`** — Housing leverage: same price growth, different starting prices. 85% LTV amplifies equity gap ~6.67×. Model: `Equity = Price × (1+g)^n - Loan`
- **`public/arv/`** — Inheritance gap: lump sum + equal savings, gap never closes. Model: `Gap = Arv × (1+r)^n`. Has percentage y-axis chart.
- **`public/lonnsutvikling/`** — Data-driven visualization (not a calculator): real SSB wage data showing how equal percentage growth translates to vastly different kroner amounts across occupations. No sliders — hard-coded SSB table 11418 data (20162025).
**External dependencies** (loaded via CDN, no install needed): Chart.js 4.4.1, Google Fonts (Fraunces + DM Sans).