Published
Edited
Feb 7, 2021
1 fork
Insert cell
md`# Graph of Covid-19 case in Jakarta `
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
import {covid_id} from '@binarmaya/covid-19-data-time-series-in-indonesia-by-province'
Insert cell
import {viewDataTransformed } from '@binarmaya/view-data-transformed-by-vega'
Insert cell
import {ETtoDate} from '@binarmaya/epoch'
Insert cell
Insert cell
Insert cell
Insert cell
yaxes = {return { "orient": "left", "scale": "yscale", "grid": true }}
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
embed = require("vega-embed@6")
Insert cell
Insert cell
Insert cell
specdf=spec("df")
Insert cell
Insert cell
Insert cell
Insert cell
[...data("data",averagaData),
...data("dataMax",maxData)]
Insert cell
Insert cell
Insert cell
Insert cell
barspec("dc")
Insert cell
Insert cell
OriginalData.slice(340)
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