Public
Edited
Aug 28, 2024
Importers
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
pesquisas_com_resultados.filter(d=> (d.Cargos == "Presidente") && (d.Metodologia.includes("país") || d.Metodologia.includes("país")))
Insert cell
pesquisas_com_resultados.filter(d => (d.instituto == "Ipespe" && d.Cargos == "Presidente"))
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
dados_t1 = instituto_selecionado!='Todos'?pesquisas_com_resultados.filter(d=> d.instituto == instituto_selecionado):pesquisas_com_resultados
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
download11 = {
if(pesquisa_selecionada == '-')
return htl.html`<p></p>`;
let dataset = resultados.filter(d=> d['Pesquisa'] == pesquisa_selecionada.substr(0,13));
return DOM.download(
new Blob([d3
.dsvFormat(';')
.format(dataset)
.trim()], { type: "text/csv" }),
"Agg_DATADOC_OPOVO.csv",
'Clique aqui para baixar os dados Flourish 1'
)


}
Insert cell
download22 = {
if(pesquisa_selecionada == '-')
return htl.html`<p></p>`;
let dataset = resultados.filter(d=> d['Pesquisa'] == pesquisa_selecionada.substr(0,13));
return DOM.download(
new Blob([d3
.dsvFormat(';')
.format(dataset)
.trim()], { type: "text/csv" }),
"Agg_DATADOC_OPOVO.csv",
'Clique aqui para baixar os dados Flourish 2'
)
}
Insert cell
download33 = {
if(pesquisa_selecionada == '-')
return htl.html`<p></p>`;
let dataset = resultados.filter(d=> d['Pesquisa'] == pesquisa_selecionada.substr(0,13));
return DOM.download(
new Blob([d3
.dsvFormat(';')
.format(dataset)
.trim()], { type: "text/csv" }),
"Agg_DATADOC_OPOVO.csv",
'Clique aqui para baixar os dados Flourish 33'
)
}
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
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