{
return html`${Object.keys(countries[0]).map((dimension) =>
Plot.plot({
height: 300,
x: {
line: true
},
y: {
line: true
},
facet: {
data: countries,
y: "region"
},
marks: [
Plot.tickX(countries, { x: dimension, stroke: "region", tip: true })
]
})
)}`;
}