Skip to content

Instantly share code, notes, and snippets.

@mbostock
Created March 5, 2020 16:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mbostock/e6df233f4e5218f64fc4373c75c1f398 to your computer and use it in GitHub Desktop.
Save mbostock/e6df233f4e5218f64fc4373c75c1f398 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<meta charset="utf-8">
<div id="observablehq-28e6e0a2"></div>
<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/focus-context.js?v=3";
const inspect = Inspector.into("#observablehq-28e6e0a2");
(new Runtime).module(define, name => (name === "chart" || name === "viewof focus") && inspect());
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment