diff --git a/tmpl/master.pug b/tmpl/master.pug index 4268c53..8a98f2d 100644 --- a/tmpl/master.pug +++ b/tmpl/master.pug @@ -140,7 +140,7 @@ html script. makeHeroChart( 'main-chart', - !{JSON.stringify(data.name || '')}, + !{JSON.stringify(data.name + ' (' + (data.deathGrowthRate < 0 ? '' : '+') + (data.deathGrowthRate * 100).toFixed(2) + '%)')}, !{JSON.stringify(data.timeSeriesDaily.map(x => x.key))}, !{JSON.stringify(data.timeSeriesDaily.map(x => x.value))}, !{JSON.stringify(data.timeSeriesDaily.map(x => x.delta))},