Public
Edited
Jun 25, 2023
Fork of SQL + Chart
Insert cell
Insert cell
airbnb_listings = d3.csv (http://raw.githubusercontent.com/aaizemberg/vis/gh-pages/dpa/tmp/listings.csv)
Insert cell
database
SELECT * FROM tracks
Insert cell
Plot.plot({
caption: "What are the common lengths of songs?",
x: {
transform: d => d / 1000 / 60,
label: "Minutes (s) →"
},
marks: [
Plot.ruleY([0]),
Plot.rectY(query, Plot.binX({y: "sum"}, {x: "Milliseconds"}))
]
})
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