# Update notebook-visualizer with v3 API?

**URL:** <https://talk.observablehq.com/t/update-notebook-visualizer-with-v3-api/2059>\
**Category:** Help\
**Created:** [June 14, 2019, 1:08pm UTC](https://talk.observablehq.com/t/update-notebook-visualizer-with-v3-api/2059 "2019-06-14T13:08:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![severo](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/severo/32/786_2.png) [@severo](https://talk.observablehq.com/u/severo)\
**Post date:** [June 14, 2019, 1:08pm UTC](https://talk.observablehq.com/t/update-notebook-visualizer-with-v3-api/2059/1 "2019-06-14T13:08:56Z")

</div>

I wonder if the [https://observablehq.com/@mbostock/notebook-visualizer](https://observablehq.com/@mbostock/notebook-visualizer) notebook might be updated to use the v3 API.

---

<div class="post-metadata">

**Author:** ![jashkenas](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/jashkenas/32/1778_2.png) [@jashkenas](https://talk.observablehq.com/u/jashkenas)\
**Post date:** [June 14, 2019, 10:02pm UTC](https://talk.observablehq.com/t/update-notebook-visualizer-with-v3-api/2059/2 "2019-06-14T22:02:16Z")

</div>

I think we’ll eventually be able to do a cleaner implementation of the notebook visualizer for v3 modules, using the actual runtime … but for starters here’s a dirty, dirty version that consumes the v3 format.

> **[Notebook Visualizer V3](https://observablehq.com/d/db851897fd933a57)**
>
> An Observable notebook by Jeremy Ashkenas.

Here’s the diff:

> **[Comparing ‘Notebook Visualizer’ by Mike Bostock to ‘Notebook Visualizer (v3...](https://observablehq.com/compare/f6ca568219953fee@166...db851897fd933a57@276)**
>
> A comparison of two Observable notebooks.

It renders the equivalent output as the current Notebook Visualizer for all the notebooks I’ve tried.

---

<div class="post-metadata">

**Author:** ![severo](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/severo/32/786_2.png) [@severo](https://talk.observablehq.com/u/severo)\
**Post date:** [June 15, 2019, 6:28pm UTC](https://talk.observablehq.com/t/update-notebook-visualizer-with-v3-api/2059/3 "2019-06-15T18:28:53Z")

</div>

wow, it was not straightforward at all. Thanks @jashkenas, it’s very useful, it helps to understand the API.
