Public
Edited
Jan 23
Insert cell
Insert cell
Plot.plot({
height: 250,
width: 350,
marks: [
Plot.barY(formattedData, Plot.groupX({ y: "count" }, { x: "price" }))
],
x: {
tickSize: 0,
tickFormat: (d, i) => (i % Math.floor(formattedData.length / 10) ? "" : d)
}
})
Insert cell
Plot.plot({
height: 350,
width: 650,
marginLeft: 250,
marks: [Plot.dot(formattedData, { x: "web-scraper-order", y: "name" })],
x: {
tickSize: 0,
tickFormat: (d, i) => (i % Math.floor(formattedData.length / 4) ? "" : d)
},
y: {
tickSize: 0,
tickFormat: (d, i) => (i % Math.floor(formattedData.length / 4) ? "" : d)
}
})
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