Published
Edited
Feb 18, 2018
Insert cell
Insert cell
Insert cell
midwest = await d3.csv("https://cdn.rawgit.com/JustinGOSSES/ac4a02b526cdd611b46159cb475c24e9/raw/43bc88e8c3a257d95894e23bb07648325bc8aba8/midwest_flatten.csv")
Insert cell
vegalite = require("@observablehq/vega-lite@0.1")
Insert cell
vegalite({
"data": {values: midwest, "format":"json"},
"mark": "bar",
"encoding": {
"x": {field: "Header_3", type: "ordinal"},
"y": {field: "Chicago", type: "quantitative"}
}
})
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