Skip to content

Commit 75e338f

Browse files
MaxGhenisclaude
andcommitted
Fix title to 2026-27 and mansion tax map descriptions
- Title: "Scottish Budget 2026" → "Scottish Budget 2026-27" - Page title updated to match - Mansion tax map: changed from "revenue" to "affected properties" since we can't estimate revenue without knowing band multipliers - Removed speculative revenue figures from tooltip Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 090dbaf commit 75e338f

File tree

3 files changed

+6
-10
lines changed

3 files changed

+6
-10
lines changed

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta charset="UTF-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6-
<title>Post-Scottish Budget 2026 Dashboard | PolicyEngine</title>
6+
<title>Scottish Budget 2026-27 Dashboard | PolicyEngine</title>
77
<link rel="preconnect" href="https://fonts.googleapis.com">
88
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
99
<link href="https://fonts.googleapis.com/css2?family=Libre+Franklin:wght@400;500;600;700&family=Source+Serif+4:opsz,wght@8..60,400;8..60,600;8..60,700&display=swap" rel="stylesheet">

src/App.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ function App() {
9595
<div className="app">
9696
<header className="title-row">
9797
<div className="title-row-inner">
98-
<h1>Scottish Budget 2026</h1>
98+
<h1>Scottish Budget 2026-27</h1>
9999
<div className="policy-dropdown" ref={dropdownRef}>
100100
<button
101101
className="policy-dropdown-trigger"

src/components/MansionTaxMap.jsx

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import "./MansionTaxMap.css";
55

66
/**
77
* Interactive D3 map showing Scottish Mansion Tax impact by Parliament Constituency.
8-
* Shows estimated revenue share from council tax reform for £1m+ properties.
8+
* Shows distribution of properties valued over £1m by constituency.
99
*/
1010
export default function MansionTaxMap() {
1111
const svgRef = useRef(null);
@@ -327,9 +327,9 @@ export default function MansionTaxMap() {
327327
<div className="map-header">
328328
<div className="chart-header">
329329
<div>
330-
<h3 className="chart-title">Mansion tax revenue by constituency</h3>
330+
<h3 className="chart-title">Mansion tax: affected properties by constituency</h3>
331331
<p className="chart-description">
332-
Estimated annual revenue from council tax reform for properties valued more than £1m
332+
Distribution of properties valued over £1m that would be affected by new council tax bands
333333
</p>
334334
</div>
335335
</div>
@@ -448,11 +448,7 @@ export default function MansionTaxMap() {
448448
<p className="tooltip-value" style={{ color: "#0B7D73" }}>
449449
{tooltipData.pct.toFixed(2)}%
450450
</p>
451-
<p className="tooltip-label">Share of total revenue</p>
452-
<p className="tooltip-value-secondary" style={{ color: "#374151" }}>
453-
£{(tooltipData.rev / 1000000).toFixed(2)}m
454-
</p>
455-
<p className="tooltip-label">Est. annual revenue</p>
451+
<p className="tooltip-label">Share of affected properties</p>
456452
</div>
457453
)}
458454
</div>

0 commit comments

Comments
 (0)