Published
Edited
Jun 2, 2020
Insert cell
md`# Infografis Perkembangan Covid-19 di Indonesia`
Insert cell
Insert cell
Insert cell
Insert cell
//chart1
Insert cell
Insert cell
fd = dt.timeFormat("%Y-%m-%d")
Insert cell
pt = dt.timeParse("%Y-%m-%d")
Insert cell
Insert cell
Insert cell
TotalCases = InaCases(data.data.cases)
Insert cell
TotalCured = InaCases(data.data.cured)
Insert cell
TotalDeath = InaCases(data.data.death)
Insert cell
Insert cell
Insert cell
Insert cell
md`### Library`
Insert cell
axios = require('https://unpkg.com/axios/dist/axios.min.js')
Insert cell
cheerio = require('https://bundle.run/cheerio@1.0.0-rc.3')
Insert cell
d3 = require('d3@5')
Insert cell
dt = require('d3-time-format')
Insert cell
import {select} from "@jashkenas/inputs"
Insert cell
Insert cell
import {chart as chart1} with {values as data} from "@d3/line-chart"
Insert cell
Plotly = require('https://cdn.plot.ly/plotly-latest.min.js')
Insert cell
Insert cell
html`<style> .grid2col { display: grid; grid-template-columns: auto auto; } </style>`
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