It would be nice to allow graphs to be auto-generated from native wikitables. This will make it easier to use compared to extension tag, at least for simple graphs, and make it more widely adopted across pages.
- This is supposed to be a simple to use and for basic cases - it doesn't have to support all types of graphs, all possible transformations, color selection etc. For advanced usage users should be encouraged to use <graph>. Probably bar/line plot would be enough as the most common scenarios
- This allows nice fallback when someone copy&paste wikitable from wiki that have graphs installed to a wiki where there is no extension (simply doesn't show the graph attached to the table)
Possible syntax:
{| class="mw-table mw-table-graph-bar" ! class="mw-table-graph-xaxis" | Year ! class="mw-table-graph-yaxis" | Population |- | 1995 || 100000 |- | 1996 ||100300 |}
Output:
<table>...</table> <graph>...</graph>