Charts from HTML tables
Already publish tables? Add one attribute and OSCharts draws the chart above the table's data. With JavaScript off, readers get the original table, unchanged.
<table data-oscharts="bar" data-source="Halcyon County Clerk">
<caption>Marriage licenses issued, by quarter</caption>
<thead><tr><th>Quarter</th><th>Licenses</th></tr></thead>
<tbody>
<tr><th>Q1</th><td>48</td></tr> ...
</tbody>
</table>
The result
Marriage licenses issued in 2026, by quarter
| Quarter | Licenses |
| January to March | 48 |
|---|
| April to June | 91 |
|---|
| July to September | 77 |
Share of county roads rated good or better
| Year | Paved roads | Gravel roads |
| 2022 | 61% | 44% |
|---|
| 2023 | 64% | 43% |
|---|
| 2024 | 66% | 47% |
|---|
| 2025 | 71% | 52% |
|---|
| 2026 | 74% | 55% |