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

One platform to build and deploy the best data apps

Experiment and prototype by building visualizations in live JavaScript notebooks. Collaborate with your team and decide which concepts to build out.
Use Observable Framework to build data apps locally. Use data loaders to build in any language or library, including Python, SQL, and R.
Seamlessly deploy to Observable. Test before you ship, use automatic deploy-on-commit, and ensure your projects are always up-to-date.
Learn more