Pre-General Availability: 2023-01-18
runSql("SELECT Name, Population FROM world.country LIMIT 10;", function (result) {
var options = {
series: [
{
type: "bar",
yLabel: "Country Population",
data: result,
marginLeft: 60,
marginBottom: 30,
yDomain: [0, 50000000]
},
],
};
var graph = new Graph();
graph.render(options);
});