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
QuarterLicenses
January to March48
April to June91
July to September77
Share of county roads rated good or better
YearPaved roadsGravel roads
202261%44%
202364%43%
202466%47%
202571%52%
202674%55%