chart.hiddenState.properties.opacity=0;// this creates initial fade-in
/*
let table = "periurbanoBajio";
let query = `${baseUrl}/query/${table}?columns=region,total15/1000 as T15,total16/1000 as T16,total17/1000 as T17,total18/1000 as T18,total19/1000 as T19,total20/1000 as T20,&filter=id=6`;
d3.json(query).then(d => chart.data = d);
*/
lettitle=chart.titles.create();
title.text="Grado de urbanización en la RU-CMCP (número de pixeles)";
chart.hiddenState.properties.opacity=0;// this creates initial fade-in
/*
let table = "periurbanoBajio";
let query = `${baseUrl}/query/${table}?columns=region,total15/1000 as T15,total16/1000 as T16,total17/1000 as T17,total18/1000 as T18,total19/1000 as T19,total20/1000 as T20,&filter=id>6&id<13&sort=inc desc`;
d3.json(query).then(d => chart.data = d);
*/
lettitle=chart.titles.create();
title.text="Crecimiento del medio construido en 6 tramos del Corredor del Bajío";