Published
Edited
Mar 21, 2019
1 fork
21 stars
Insert cell
Insert cell
Object.assign(html`<iframe style="width:100%;height:500px;border:none;">`, {srcdoc: `
<!DOCTYPE html>
<style>

.observablehq { margin: 0; }
.observablehq > :only-child { display: block; }

</style>
<body>
<script type=module>

import {Runtime, Inspector} from "https://cdn.jsdelivr.net/npm/@observablehq/runtime@4/dist/runtime.js";
import define from "https://api.observablehq.com/@d3/bar-chart.js?v=3";

new Runtime().module(define, name => {
if (name === "chart") {
return new Inspector(document.body);
}
});

</script>
`})
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