Move demography templates to the Graph extension
[Note that knowledge of Romanian language is NOT needed] The current version of demography templates on the Romanian Wikipedia is (ab)using the Timeline extension [1], which was the only one available for graphs back in 2006. But now, we have the Graph extension [2] which uses VegaJs to do much cooler graphs.
Your task is to create a template named https://ro.wikipedia.org/wiki/Format:Demografie2 , which, given a string ABC as a parameter, will get data from https://ro.wikipedia.org/wiki/Format:Demografie2/ABC and use it to draw a bar graph of the population using the graph extension. The format of the data is at your choice. You will also need to prove that the template works by implementing it for Dolj County (see https://ro.wikipedia.org/wiki/Format:Demografie/Dolj for the current version; you can also extract the data you need from there).
You will find examples of such graphs at [2].
[1] https://www.mediawiki.org/wiki/Extension:EasyTimeline [2] https://www.mediawiki.org/wiki/Extension:Graph