Published
Edited
Apr 12, 2022
1 fork
1 star
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
colors = new Object({
lines: {casos: '#219ebc', obitos: '#ffb703'},
mainText: '#023047',
secondaryText: '#3e6d78',
offText: '#808080',
noteText: '#023047',
noteText2: '#121212'
})
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
## Funções e variáveis de suporte
Insert cell
formatDate = (value) => {
if(language === 'pt-br')
return d3.utcFormat('%d/%m')(value)
else
return d3.utcFormat('%m/%d')(value)
}
Insert cell
Insert cell
import {LineChart} from '@adolfoguimaraes/line-chart-with-annotations'
Insert cell
import {dados_casos_obitos, max_objects, max_objects_obitos, formatNumber, maxAll} from '@adolfoguimaraes/br-se-covid19-casos-obitos'
Insert cell
import {Annotations} from '@adolfoguimaraes/annotations_simple'
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more