Public
Edited
Dec 23, 2024
Insert cell
Insert cell
Insert cell
Insert cell
data = FileAttachment("Global Health Statistics@1.csv").csv()
Insert cell
data.columns
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
{
let wind = html`<div style='height:500px;'></div>`;
yield wind;
let map = new ymaps.Map(wind,
{center: [37.710808,4.042963],
zoom: 2 });
let bordermap = ymaps.borders.load('001', {lang: 'ru', quality: 1}).then(function (geojson) {
var regions = ymaps.geoQuery(geojson);
join_codes.filter((x) => x.avgRR >= range_duration1 && x.avgRR <= range_duration2).map(d => d.Code).forEach(code => {
regions.search(`properties.iso3166 = "${code}"`).setOptions(
{fillColor: '#1f75fe', fillOpacity: 0.8, strokeColor: '#ffffff', strokeOpacity: 0.8, strokeWidth: 2}
).addToMap(map);
})
});
map_yandex[2]=map
}

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
group_money = d3.group(data.filter((x) => x['Per Capita Income (USD)'] != '' && select_mult_years.includes(String(x["Year"]))) , d => d['Country'],)
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
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