Published
Edited
Jul 24, 2022
Importers
Insert cell
Insert cell
d3 = require('d3')
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
cases_csv = open_sledilnik_csv('cases');
Insert cell
stats_csv = d3.csv('https://raw.githubusercontent.com/sledilnik/data/master/csv/stats.csv', d3.autoType);
Insert cell
Insert cell
patients_csv = d3.csv("https://raw.githubusercontent.com/sledilnik/data/master/csv/patients.csv", d3.autoType);
Insert cell
age_cases_csv = open_sledilnik_csv('age-cases');
Insert cell
Insert cell
muni_csv = Promise.all([
d3.csv("https://raw.githubusercontent.com/sledilnik/data/master/csv/municipality-cases.csv", d3.autoType),
d3.csv("https://raw.githubusercontent.com/sledilnik/data/master/csv/dict-municipality.csv", d3.autoType)
]).then(([a,b]) => ({timeSeries: a, dict: b}));
Insert cell
Insert cell
schools_csv = d3.csv("https://raw.githubusercontent.com/sledilnik/data/master/csv/schools-cases.csv", d3.autoType);
Insert cell
Insert cell
schools_absences_csv = d3.csv("https://raw.githubusercontent.com/sledilnik/data/master/csv/schools-absences.csv", d3.autoType);
Insert cell
schools_regimes_csv = d3.csv("https://raw.githubusercontent.com/sledilnik/data/master/csv/schools-regimes.csv", d3.autoType);
Insert cell
episari_age_csv = d3.csv('https://raw.githubusercontent.com/sledilnik/data/master/csv/episari-nijz-age.csv', d3.autoType).then(arr => arr.filter(row => row["episari.date.from"]));
Insert cell
episari_weekly_csv = d3.csv('https://raw.githubusercontent.com/sledilnik/data/master/csv/episari-nijz-weekly.csv', d3.autoType).then(arr => arr.filter(row => row["episari.date.from"]));
Insert cell
vax_muni_csv = d3.csv('https://raw.githubusercontent.com/sledilnik/data/master/csv/vaccination-by_municipality.csv', d3.autoType)
Insert cell
vax_age_csv = d3.csv('https://raw.githubusercontent.com/sledilnik/data/master/csv/vaccination-by_age.csv', d3.autoType);
Insert cell
ostanizdrav_csv = d3.csv("https://raw.githubusercontent.com/sledilnik/data/master/ostanizdrav/merged.csv", d3.autoType);
Insert cell
dict_age_groups = d3.csv("https://raw.githubusercontent.com/sledilnik/data/master/csv/dict-age-groups.csv", d3.autoType);
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

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