The HTML of “Rainfall this season”
What goes inside <main> on each page of open data. The skip link, banner, header and footer around it are on the page template. Switch any block to JSX for React.
Rainfall this season (data.html)
<div class="ggds-container ggds-main">
<p class="sc-eyebrow"><svg class="ggds-icon ggds-icon--sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><path d="M7 19a4.5 4.5 0 0 1-.5-9A6 6 0 0 1 18 9.5a4.75 4.75 0 0 1-.5 9.5z"/></svg> Main rainy season, April to July 2026</p>
<h1>Rainfall this season</h1>
<p class="ggds-lead">Most of the south had more rain than normal. Updated 10 November 2026 at 6am.</p>
<ul class="ggds-key-figures">
<li class="ggds-key-figure"><p class="ggds-key-figure__value">755 mm</p><p class="ggds-key-figure__label">average rainfall</p><p class="ggds-key-figure__change"><svg class="ggds-icon ggds-icon--sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><path d="M12 19V5M6 11l6-6 6 6"/></svg> 7% above normal</p></li>
<li class="ggds-key-figure"><p class="ggds-key-figure__value">18</p><p class="ggds-key-figure__label">days of heavy rain</p><p class="ggds-key-figure__change"><svg class="ggds-icon ggds-icon--sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><path d="M12 19V5M6 11l6-6 6 6"/></svg> 5 more than last year</p></li>
<li class="ggds-key-figure"><p class="ggds-key-figure__value">3</p><p class="ggds-key-figure__label">regions with a flood warning</p><p class="ggds-key-figure__change"><a href="#forecast">See the forecast</a></p></li>
</ul>
<h2 id="regions">Rainfall by region</h2>
<p>Each bar is the rain that fell; the normal for the region is in the last column.</p>
<div class="ggds-table-wrap" role="region" aria-labelledby="regions-caption" tabindex="0">
<table class="ggds-table sc-chart">
<caption class="ggds-table__caption" id="regions-caption">Rainfall by region, April to July 2026, in millimetres</caption>
<thead><tr><th scope="col">Region</th><th scope="col" class="ggds-table__numeric">Rainfall</th><th scope="col">Compared with normal</th><th scope="col" class="ggds-table__numeric">Normal</th></tr></thead>
<tbody>
<tr><th scope="row">Western</th><td class="ggds-table__numeric">1020</td><td><meter class="ggds-meter" min="0" max="1100" value="1020" aria-hidden="true">1020 mm</meter> <strong class="ggds-tag ggds-tag--warning">Well above: +16%</strong></td><td class="ggds-table__numeric">880</td></tr>
<tr><th scope="row">Central</th><td class="ggds-table__numeric">860</td><td><meter class="ggds-meter" min="0" max="1100" value="860" aria-hidden="true">860 mm</meter> <strong class="ggds-tag ggds-tag--info">Above: +9%</strong></td><td class="ggds-table__numeric">790</td></tr>
<tr><th scope="row">Volta</th><td class="ggds-table__numeric">812</td><td><meter class="ggds-meter" min="0" max="1100" value="812" aria-hidden="true">812 mm</meter> <strong class="ggds-tag ggds-tag--warning">Well above: +16%</strong></td><td class="ggds-table__numeric">700</td></tr>
<tr><th scope="row">Eastern</th><td class="ggds-table__numeric">790</td><td><meter class="ggds-meter" min="0" max="1100" value="790" aria-hidden="true">790 mm</meter> <strong class="ggds-tag ggds-tag--info">Above: +4%</strong></td><td class="ggds-table__numeric">760</td></tr>
<tr><th scope="row">Ashanti</th><td class="ggds-table__numeric">744</td><td><meter class="ggds-meter" min="0" max="1100" value="744" aria-hidden="true">744 mm</meter> <strong class="ggds-tag">Below: -3%</strong></td><td class="ggds-table__numeric">770</td></tr>
<tr><th scope="row">Greater Accra</th><td class="ggds-table__numeric">512</td><td><meter class="ggds-meter" min="0" max="1100" value="512" aria-hidden="true">512 mm</meter> <strong class="ggds-tag ggds-tag--warning">Well above: +19%</strong></td><td class="ggds-table__numeric">430</td></tr>
<tr><th scope="row">Bono</th><td class="ggds-table__numeric">690</td><td><meter class="ggds-meter" min="0" max="1100" value="690" aria-hidden="true">690 mm</meter> <strong class="ggds-tag">Below: -4%</strong></td><td class="ggds-table__numeric">720</td></tr>
<tr><th scope="row">Northern</th><td class="ggds-table__numeric">610</td><td><meter class="ggds-meter" min="0" max="1100" value="610" aria-hidden="true">610 mm</meter> <strong class="ggds-tag">Below: -6%</strong></td><td class="ggds-table__numeric">650</td></tr>
</tbody>
</table>
</div>
<p class="ggds-hint">Example figures only.</p>
<h2 id="forecast">The next 5 days</h2>
<ul class="sc-forecast">
<li class="sc-forecast__day"><p class="sc-forecast__name">Tue</p><svg class="ggds-icon ggds-icon--xl" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><path d="M12 3s6 6.5 6 11a6 6 0 0 1-12 0c0-4.5 6-11 6-11z"/></svg><p class="sc-forecast__text">Heavy rain</p><p class="sc-forecast__mm">42 mm</p></li>
<li class="sc-forecast__day"><p class="sc-forecast__name">Wed</p><svg class="ggds-icon ggds-icon--xl" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><path d="M12 3s6 6.5 6 11a6 6 0 0 1-12 0c0-4.5 6-11 6-11z"/></svg><p class="sc-forecast__text">Rain</p><p class="sc-forecast__mm">18 mm</p></li>
<li class="sc-forecast__day"><p class="sc-forecast__name">Thu</p><svg class="ggds-icon ggds-icon--xl" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><path d="M7 19a4.5 4.5 0 0 1-.5-9A6 6 0 0 1 18 9.5a4.75 4.75 0 0 1-.5 9.5z"/></svg><p class="sc-forecast__text">Cloudy</p><p class="sc-forecast__mm">4 mm</p></li>
<li class="sc-forecast__day"><p class="sc-forecast__name">Fri</p><svg class="ggds-icon ggds-icon--xl" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><circle cx="12" cy="12" r="4"/><path d="M12 3v2.5M18.36 5.64 16.6 7.4M21 12h-2.5M18.36 18.36 16.6 16.6M12 21v-2.5M5.64 18.36 7.4 16.6M3 12h2.5M5.64 5.64 7.4 7.4"/></svg><p class="sc-forecast__text">Sunny spells</p><p class="sc-forecast__mm">0 mm</p></li>
<li class="sc-forecast__day"><p class="sc-forecast__name">Sat</p><svg class="ggds-icon ggds-icon--xl" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><circle cx="12" cy="12" r="4"/><path d="M12 3v2.5M18.36 5.64 16.6 7.4M21 12h-2.5M18.36 18.36 16.6 16.6M12 21v-2.5M5.64 18.36 7.4 16.6M3 12h2.5M5.64 5.64 7.4 7.4"/></svg><p class="sc-forecast__text">Sunny</p><p class="sc-forecast__mm">0 mm</p></li>
</ul>
<h2 id="download">Download the data</h2>
<ul class="sc-downloads">
<li><a class="ggds-with-icon" href="rainfall-2026.csv" download><svg class="ggds-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><path d="M12 4v11M7 10l5 5 5-5"/><path d="M4 20h16"/></svg><span>Rainfall by region, 2026 (CSV, 1 KB)</span></a></li>
</ul>
<p>Free to use under an open licence. Say where it came from.</p>
</div><div className="ggds-container ggds-main">
<p className="sc-eyebrow"><svg className="ggds-icon ggds-icon--sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" aria-hidden="true" focusable="false"><path d="M7 19a4.5 4.5 0 0 1-.5-9A6 6 0 0 1 18 9.5a4.75 4.75 0 0 1-.5 9.5z" /></svg> Main rainy season, April to July 2026</p>
<h1>Rainfall this season</h1>
<p className="ggds-lead">Most of the south had more rain than normal. Updated 10 November 2026 at 6am.</p>
<ul className="ggds-key-figures">
<li className="ggds-key-figure"><p className="ggds-key-figure__value">755 mm</p><p className="ggds-key-figure__label">average rainfall</p><p className="ggds-key-figure__change"><svg className="ggds-icon ggds-icon--sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" aria-hidden="true" focusable="false"><path d="M12 19V5M6 11l6-6 6 6" /></svg> 7% above normal</p></li>
<li className="ggds-key-figure"><p className="ggds-key-figure__value">18</p><p className="ggds-key-figure__label">days of heavy rain</p><p className="ggds-key-figure__change"><svg className="ggds-icon ggds-icon--sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" aria-hidden="true" focusable="false"><path d="M12 19V5M6 11l6-6 6 6" /></svg> 5 more than last year</p></li>
<li className="ggds-key-figure"><p className="ggds-key-figure__value">3</p><p className="ggds-key-figure__label">regions with a flood warning</p><p className="ggds-key-figure__change"><a href="#forecast">See the forecast</a></p></li>
</ul>
<h2 id="regions">Rainfall by region</h2>
<p>Each bar is the rain that fell; the normal for the region is in the last column.</p>
<div className="ggds-table-wrap" role="region" aria-labelledby="regions-caption" tabIndex={0}>
<table className="ggds-table sc-chart">
<caption className="ggds-table__caption" id="regions-caption">Rainfall by region, April to July 2026, in millimetres</caption>
<thead><tr><th scope="col">Region</th><th scope="col" className="ggds-table__numeric">Rainfall</th><th scope="col">Compared with normal</th><th scope="col" className="ggds-table__numeric">Normal</th></tr></thead>
<tbody>
<tr><th scope="row">Western</th><td className="ggds-table__numeric">1020</td><td><meter className="ggds-meter" min="0" max="1100" value="1020" aria-hidden="true">1020 mm</meter> <strong className="ggds-tag ggds-tag--warning">Well above: +16%</strong></td><td className="ggds-table__numeric">880</td></tr>
<tr><th scope="row">Central</th><td className="ggds-table__numeric">860</td><td><meter className="ggds-meter" min="0" max="1100" value="860" aria-hidden="true">860 mm</meter> <strong className="ggds-tag ggds-tag--info">Above: +9%</strong></td><td className="ggds-table__numeric">790</td></tr>
<tr><th scope="row">Volta</th><td className="ggds-table__numeric">812</td><td><meter className="ggds-meter" min="0" max="1100" value="812" aria-hidden="true">812 mm</meter> <strong className="ggds-tag ggds-tag--warning">Well above: +16%</strong></td><td className="ggds-table__numeric">700</td></tr>
<tr><th scope="row">Eastern</th><td className="ggds-table__numeric">790</td><td><meter className="ggds-meter" min="0" max="1100" value="790" aria-hidden="true">790 mm</meter> <strong className="ggds-tag ggds-tag--info">Above: +4%</strong></td><td className="ggds-table__numeric">760</td></tr>
<tr><th scope="row">Ashanti</th><td className="ggds-table__numeric">744</td><td><meter className="ggds-meter" min="0" max="1100" value="744" aria-hidden="true">744 mm</meter> <strong className="ggds-tag">Below: -3%</strong></td><td className="ggds-table__numeric">770</td></tr>
<tr><th scope="row">Greater Accra</th><td className="ggds-table__numeric">512</td><td><meter className="ggds-meter" min="0" max="1100" value="512" aria-hidden="true">512 mm</meter> <strong className="ggds-tag ggds-tag--warning">Well above: +19%</strong></td><td className="ggds-table__numeric">430</td></tr>
<tr><th scope="row">Bono</th><td className="ggds-table__numeric">690</td><td><meter className="ggds-meter" min="0" max="1100" value="690" aria-hidden="true">690 mm</meter> <strong className="ggds-tag">Below: -4%</strong></td><td className="ggds-table__numeric">720</td></tr>
<tr><th scope="row">Northern</th><td className="ggds-table__numeric">610</td><td><meter className="ggds-meter" min="0" max="1100" value="610" aria-hidden="true">610 mm</meter> <strong className="ggds-tag">Below: -6%</strong></td><td className="ggds-table__numeric">650</td></tr>
</tbody>
</table>
</div>
<p className="ggds-hint">Example figures only.</p>
<h2 id="forecast">The next 5 days</h2>
<ul className="sc-forecast">
<li className="sc-forecast__day"><p className="sc-forecast__name">Tue</p><svg className="ggds-icon ggds-icon--xl" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" aria-hidden="true" focusable="false"><path d="M12 3s6 6.5 6 11a6 6 0 0 1-12 0c0-4.5 6-11 6-11z" /></svg><p className="sc-forecast__text">Heavy rain</p><p className="sc-forecast__mm">42 mm</p></li>
<li className="sc-forecast__day"><p className="sc-forecast__name">Wed</p><svg className="ggds-icon ggds-icon--xl" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" aria-hidden="true" focusable="false"><path d="M12 3s6 6.5 6 11a6 6 0 0 1-12 0c0-4.5 6-11 6-11z" /></svg><p className="sc-forecast__text">Rain</p><p className="sc-forecast__mm">18 mm</p></li>
<li className="sc-forecast__day"><p className="sc-forecast__name">Thu</p><svg className="ggds-icon ggds-icon--xl" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" aria-hidden="true" focusable="false"><path d="M7 19a4.5 4.5 0 0 1-.5-9A6 6 0 0 1 18 9.5a4.75 4.75 0 0 1-.5 9.5z" /></svg><p className="sc-forecast__text">Cloudy</p><p className="sc-forecast__mm">4 mm</p></li>
<li className="sc-forecast__day"><p className="sc-forecast__name">Fri</p><svg className="ggds-icon ggds-icon--xl" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" aria-hidden="true" focusable="false"><circle cx="12" cy="12" r="4" /><path d="M12 3v2.5M18.36 5.64 16.6 7.4M21 12h-2.5M18.36 18.36 16.6 16.6M12 21v-2.5M5.64 18.36 7.4 16.6M3 12h2.5M5.64 5.64 7.4 7.4" /></svg><p className="sc-forecast__text">Sunny spells</p><p className="sc-forecast__mm">0 mm</p></li>
<li className="sc-forecast__day"><p className="sc-forecast__name">Sat</p><svg className="ggds-icon ggds-icon--xl" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" aria-hidden="true" focusable="false"><circle cx="12" cy="12" r="4" /><path d="M12 3v2.5M18.36 5.64 16.6 7.4M21 12h-2.5M18.36 18.36 16.6 16.6M12 21v-2.5M5.64 18.36 7.4 16.6M3 12h2.5M5.64 5.64 7.4 7.4" /></svg><p className="sc-forecast__text">Sunny</p><p className="sc-forecast__mm">0 mm</p></li>
</ul>
<h2 id="download">Download the data</h2>
<ul className="sc-downloads">
<li><a className="ggds-with-icon" href="rainfall-2026.csv" download><svg className="ggds-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" aria-hidden="true" focusable="false"><path d="M12 4v11M7 10l5 5 5-5" /><path d="M4 20h16" /></svg><span>Rainfall by region, 2026 (CSV, 1 KB)</span></a></li>
</ul>
<p>Free to use under an open licence. Say where it came from.</p>
</div>