Public
Edited
Feb 7
Insert cell
Insert cell
Insert cell
Plot.plot({
style: {
background: "#f8df20"
},
marks: [
// Main scatter plot
Plot.image(episode_metrics, {
x: "question_ratio",
y: "exclamation_ratio",
tip: true,
src: src,
r: 8
}),

// Crosshair for better data inspection
Plot.crosshair(episode_metrics, {
x: "question_ratio",
y: "exclamation_ratio",
textFill: "red",
textStroke: "white",
strokeWidth: 3
}),
Plot.image(episode_metrics, {
x: 0.13, // Adjust the X position to keep it near the top-left
y: 0.27, // Adjust the Y position to keep it above the plot area
src: () => logo,
width: 150, // Logo width
height: 100 // Logo height
}),
Plot.image(episode_metrics, {
x: 0.13, // Adjust the X position to keep it near the top-left
y: 0.23, // Adjust the Y position to keep it above the plot area
src: "https://andphilosophy.com/wp-content/uploads/2020/09/bobs-burgers.jpg",
width: 150, // Logo width
height: 100 // Logo height
})
],
height: 600,
width: 700
})
Insert cell
src = "https://cdn-icons-png.flaticon.com/512/4537/4537411.png"
Insert cell
Insert cell
episode_metrics.csv
Type Table, then Shift-Enter. Ctrl-space for more options.

Insert cell
Insert cell

One platform to build and deploy the best data apps

Experiment and prototype by building visualizations in live JavaScript notebooks. Collaborate with your team and decide which concepts to build out.
Use Observable Framework to build data apps locally. Use data loaders to build in any language or library, including Python, SQL, and R.
Seamlessly deploy to Observable. Test before you ship, use automatic deploy-on-commit, and ensure your projects are always up-to-date.
Learn more