Published unlisted
Edited
Mar 11, 2022
Insert cell
Insert cell
Inputs.table(nepal_active)
Insert cell
nepal_active = Array.from(Array.from(data_grouped)[0][1])[0][1]
Insert cell
data_grouped = d3.group(data, d => d.Country, d=> d.Status)
Insert cell
data = d3.csvParse(`Project Number,Project Name,Country,Financing,Project Type or Modality,Status,Approval Date
1001-023,Water Supply Project,Nepal,Sovereign,Loan,Active,3/7/2008
1001-013,Irrigated Agriculture Sector Project,Nepal,Sovereign,Loan,Active,14/12/2004
1001-043,Water Supply Improvement Project,Nepal,Sovereign,Loan,Active,16/09/2011
1002-015,Urban Water Supply and Sanitation (Sector) Project,Nepal,Sovereign,Loan,Active,26/09/2018
1002-043,Flood Management in Selected River Basins,Indonesia,Sovereign,Loan,Active,30/09/2016
1002-013,Omnibus Infrastructure Development,"Micronesia, Federated States of",Sovereign,Loan | Technical Assistance,Active,5/11/2004
1004-013,Harbor Expansion Project,Maldives,Sovereign,Grant | Technical Assistance,Active,16/08/2016
1005-013,Wastewater Management Project,Sri Lanka,Sovereign,Loan,Active,28/09/2009
1005-023,Integrated Urban Environmental Improvement Project,Nepal,Sovereign,Loan,Active,6/7/2010
`)
Insert cell
d3.rollup(data, d => d.length, d => d.Country, d=> d.Status)
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