Module:Sandbox/Aude/PopulationChart: Difference between revisions

Content deleted Content added
test
updated to vega2.0 mw:Extension:Graph/Vega_2.0
 
(2 intermediate revisions by one other user not shown)
Line 2:
 
local json = {
version = 2,
width = 400,
height = 200,
Line 10 ⟶ 11:
}
},
axesscales = {
{
{ type = "x", scale = "x" },
{ type name = "yx", scale = "y" }
type = "ordinal",
range = "width",
___domain = { typedata = "xtable", scale field= "x" },
},
{
name = "y",
range = "height",
nice = true,
___domain = { data = "table", field = "y" }
}
}
}