Public
Edited
May 15, 2022
1 fork
Importers
4 stars
Insert cell
Insert cell
Insert cell
Insert cell
sample_iso3 = isoAlphaFlagImage("ZWE") //iso3 or iso2 is OK, rect is returned by default
Insert cell
sample_rect = isoAlphaFlagImage("US", "rect")
Insert cell
sample_circ = isoAlphaFlagImage("US", "circle")
Insert cell
sample_wiki = isoAlphaFlagImage("US", "wiki")
Insert cell
sample_smol = isoAlphaFlagImage("ZW", "wiki", 40); // with width value
Insert cell
sample_furl = isoAlphaFlagURL("ZWE") //URL only
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
defaultwidth = 100
Insert cell
Insert cell
arr = [...a3a2].map(([iso3, iso2]) => ({ iso3:iso3, iso2:iso2, circle:iso2, rect:iso2, wiki: iso2}));
Insert cell
import {isoAlpha3to2, isoAlpha2to3, a3a2, a2a3} from "@mbostock/iso-3166-alpha"
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more