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
Insert cell
ARTtechniques = ["Insemination", "In Vitro"]
Insert cell
viewof artTechniqueSelector = Inputs.input("Insemination")
Insert cell
artTechniqueSelectorMirror01 = Inputs.bind(
Inputs.select(ARTtechniques, {
label: locale[languageSelector].pickTechnique,
format: (x) => localeArtTechniques[languageSelector][x]
}),
viewof artTechniqueSelector
)
Insert cell
Insert cell
Insert cell
myRegionData = datasetCCAA.find(
(d) => d["region_code"] === mutableRegionGeneral
)
Insert cell
import {
viewof ageLegalMap, // Public funding: age limits
viewof maxCyclesMap, // Pubic funding: max cycles,
viewof extraBarriersMap, // Pubic funding: extra barriers,
styles as mapStyles,
mutable mutableRegion as mutableRegionGeneral,
resumeTotalsAge,
resumeTotalsCycles,
resumeTotalsExtraBarriers
} with {
regionsGeometry as _regionsGeometry,
isInsemination as _isInsemination,
artTechniqueSelector as _artTechniqueSelector,
languageSelector as _languageSelector,
_isMobile as isMobile,
_myWidth as myWidth
} from "@civio/648-cartogram-spain-v01"
Insert cell
Insert cell
Insert cell
import {
slider,
sliderSettingsAge_female,
sliderSettingsAge_male,
datasetCCAA,
ageLegalNotesExtraCCAA,
resumeRegionAccessLegalAge
} with {
mutableRegionGeneral as myRegion,
myRegionAccessLegalAge as _myRegionAccess,
languageSelector as _languageSelector
} from "@civio/648-age-limits-v04"
Insert cell
myRegionAccessLegalAge = ageLegalMap.myRegionAccessLegalAge
Insert cell
// Flag variable
isInsemination = artTechniqueSelector === "Insemination"
Insert cell
Insert cell
Insert cell
import {
cycleScheme,
resumeRegionAccessMaxCycles,
publicFundingCyclesNotesExtraCCAA
} with {
mutableRegionGeneral as myRegion,
artTechniqueSelector as _artTechniqueSelector,
myRegionAccessMaxCycles as _myRegionAccess,
myRegionAccessLegalAge as _myRegionAccessLegalAge,
languageSelector as _languageSelector
} from "@civio/648-public-funding-cycles-v01"
Insert cell
myRegionAccessMaxCycles = maxCyclesMap.myRegionAccessUnlimitedCycles
Insert cell
Insert cell
Insert cell
import {
extraBarriersNotesExtraCCAA,
resumeExtraBarriers,
sliderSettings_IMC
} with {
mutableRegionGeneral as myRegion,
languageSelector as _languageSelector,
myRegionAccessExtraBarriers as _myRegionAccess
} from "@civio/648-extra-barriers-v01"
Insert cell
myRegionAccessExtraBarriers = extraBarriersMap.myRegionExtraBarriers
Insert cell
myRegionHasIMC = extraBarriersMap.myRegionHasIMC
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