Public
Edited
Apr 15, 2023
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
query = ({
$select:
"ms, year, sum(eu_eligible_expenditure_notional_climate_change)/1e9 as climate, sum(eu_elig_expenditure_declared_fin_data_notional)/1e9 as total, sum(planned_eu_amount_climate_change)/1e9 as plan, (climate/total) as ratio, (climate/plan) as progress",
$where: 'dimension_type == "InterventionField" and year > 2016',
$group: "ms, year"
})
Insert cell
### Resulting URL
Insert cell
url = "https://cohesiondata.ec.europa.eu/resource/" + dataset_id + ".json?" +
new URLSearchParams(query)
Insert cell
### Data ingest and transformation
Insert cell
Insert cell
Insert cell
import {Plot} from "@mkfreeman/plot-tooltip"
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