Published
Edited
Sep 16, 2020
1 star
Insert cell
Insert cell
clima1 = d3.csv("https://raw.githubusercontent.com/nazareno/eda-clima/master/data/clima_cg_jp-semanal.csv")
Insert cell
Insert cell
clima1[0].tmax + clima1[1].tmax
Insert cell
Insert cell
clima = d3.csv("https://raw.githubusercontent.com/nazareno/eda-clima/master/data/clima_cg_jp-semanal.csv", d3.autoType)
Insert cell
clima[0].tmax + clima[1].tmax
Insert cell
Insert cell
Insert cell
apenas_cg = clima.filter(d => d.cidade === "Campina Grande");
Insert cell
d3.max(apenas_cg, d => d.chuva)
Insert cell
d3.rollup(clima, v => d3.sum(v, d => d.chuva), d => d.cidade)
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