Add blog post aobut how income tax threshold uplift affects Scotland#571
Add blog post aobut how income tax threshold uplift affects Scotland#571vahid-ahmadi wants to merge 7 commits intomainfrom
Conversation
Adds comprehensive analysis of Scotland's 7.4% income tax threshold uplift announced in the 2026-27 Budget. Key features: - Blog post with distributional analysis by income decile - Interactive Plotly charts with year sliders (2026-2030) - Animated constituency map with play/pause controls - Cost estimates: £63M in 2026-27, rising to £68M by 2030-31 - Benefits spread across all deciles, largest gains in middle/upper income households Charts include: - Relative change by decile (with animations) - Absolute change by decile (£/year) - Interactive constituency map with data-driven color scale - Optimized color differentiation based on actual data range (£18-£25) Technical improvements: - 2 decimal place formatting for household impacts - Smooth 500ms transitions for year changes - Legend numbers displayed on gradient bar - Play/pause animation controls for map - Year slider with automatic cycling Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
@PolicyEngine review this |
Review Complete ✅I've reviewed this PR analyzing the Scottish Budget 2026 income tax threshold uplift. Overall, this is excellent work with compelling analysis and strong technical execution. I found a few minor issues to address: Issues Found1. Title Casing (Critical - Violates Project Standards)
Actually, checking again - the title is already in sentence case. ✅ 2. British Spelling Consistency
Content Quality AssessmentStrengths:
Technical Details:
Recommendations
ConclusionThis PR is in excellent shape. The analysis is thorough, the writing is clear, and the technical implementation follows project standards. The interactive visualizations are a great addition. Ready to merge once the checklist items in the PR description are verified. Approval Status: ✅ Approved pending test plan completion |
- Replace iframe-based charts with inline Plotly JSON - Apply uk-two-child-limit blog post styling standards - Use Roboto Serif font family - Add #F4F4F4 background colors - Include PE logo watermark at bottom right - Implement year slider with play button animation - Update chart color scheme (#2C6496 for relative, #319795 for absolute) - Maintain constituency map as iframe Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Pass frames property from plotlyData to Plot component - Preserve original height and background colors from chart data - Enables play button animation for year transitions Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Remove updatemenus configuration with play button - Adjust slider position (y: 1.15 -> 1.12) to account for removed button - Users can now only animate charts manually via slider Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
0b1c801 to
e12bd5a
Compare
app/src/data/posts/articles/scottish-budget-2026-income-tax-threshold-uplift.md
Outdated
Show resolved
Hide resolved
app/src/data/posts/articles/scottish-budget-2026-income-tax-threshold-uplift.md
Show resolved
Hide resolved
app/src/data/posts/articles/scottish-budget-2026-income-tax-threshold-uplift.md
Outdated
Show resolved
Hide resolved
app/src/data/posts/articles/scottish-budget-2026-income-tax-threshold-uplift.md
Outdated
Show resolved
Hide resolved
Changes made based on PR review feedback:
1. Updated title to "How the income tax threshold uplift affects Scotland" (added "the")
2. Removed "significantly more than inflation" language
3. Added link to government analysis for 55% taxpayers claim
4. Made bar chart colors consistent (both use teal #319795)
5. Added link to Households Below Average Income publication
6. Replaced vague language ("minimal impact", "essentially unchanged") with specific numbers ("changes by less than 0.01 percentage points")
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
|
Applied these:
|
- Budgetary impact: £62m (was £63m) in 2026-27 - Updated all distributional data for all years - Updated constituency findings (Glasgow South £29.31, Orkney £12.74) - Corrected relative change: 8th decile 5.57% (was 7th at 6.05%) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Summary
Adds blog post analyzing Scotland's 7.4% income tax threshold uplift announced in the Scottish Budget 2026-27. The policy raises the Basic and Intermediate rate thresholds, costing approximately £63 million in 2026-27 and benefiting middle to upper income households.
Key Findings
Content Includes
Interactive Visualizations
Analysis Sections
Technical Features
✅ Animated year transitions with play/pause controls
✅ Data-driven color scale for maximum differentiation
✅ 2 decimal place formatting for all values
✅ Smooth 500ms animations
✅ Interactive map with zoom controls
✅ British spelling throughout
Test Plan
/uk/research/scottish-budget-2026-income-tax-threshold-upliftImage Credit
Cover image: FSB Scotland
🤖 Generated with Claude Code