Published
Edited
Apr 19, 2022
Insert cell
# Tutorial
Insert cell
url = "https://data.cityofberkeley.info/resource/4tbf-3yt8.json" // ?$limit=1000

Insert cell
data = fetch( url ).then( res => res.json() ) //알트 엔터 또는 커맨드 엔터
Insert cell
import {navio} from "@john-guerra/navio"
Insert cell
navio(data)
Insert cell
import {table2Tree} from "@john-guerra/table-2-tree"
Insert cell
treeData = table2Tree( data, ["gender", "age", "city"] )
Insert cell
height = 800
Insert cell
width = 1000
Insert cell
import { chart } with { treeData as data, height, width} from "@thetylerwolf/day-10-treemap"
Insert cell
chart
Insert cell
//import { chart } with { treeData as data } from "@analyzer2004/3d-treemap"
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