# Mind map (tree chart) implementation (!)

**URL:** <https://connect.superhuman.com/t/mind-map-tree-chart-implementation/13008>\
**Category:** Doc Show and Tell\
**Created:** [January 1, 2020, 9:47pm UTC](https://connect.superhuman.com/t/mind-map-tree-chart-implementation/13008 "2020-01-01T21:47:22Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Paul\_Danyliuk](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/paul_danyliuk/32/27228_2.png) [@Paul\_Danyliuk](https://connect.superhuman.com/u/Paul_Danyliuk)\
**Post date:** [January 1, 2020, 9:47pm UTC](https://connect.superhuman.com/t/mind-map-tree-chart-implementation/13008/1 "2020-01-01T21:47:22Z")

</div>

Okay, here it is. I made a mind map (actually a tree chart, sorry for the clickbait) implementation using [the SVG capability I discovered last decade](https://connect.superhuman.com/t/mega-trick-svg-in-coda-one-step-away-from-generated-charts-and-mind-maps/12994) (ba-dum-tss)

Best viewed in new tab.

https://coda.io/embed/LhR721-ajF/_suSdW?viewMode=embedplay

And yeah, it’s dynamic. Play around: turn off nodes, change parents, reorder rows, add new ones.

 ![ezgif.com-optimize (62)](https://global.discourse-cdn.com/coda1/original/2X/d/d8132763f9071683f367d0ba7aa61e24ecdd435f.gif)

~~There are definitely bugs with the implementation, e.g. the chart may act funny when you reorder rows.~~ Bug fixed, feel free to reorder now.

And subscribe to [codatricks.com](http://codatricks.com) if you haven’t already. Yeah yeah, still not launched. But it will be.

---

<div class="post-metadata">

**Author:** ![Ben\_Lee](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/ben_lee/32/49867_2.png) [@Ben\_Lee](https://connect.superhuman.com/u/Ben_Lee)\
**Post date:** [January 1, 2020, 10:14pm UTC](https://connect.superhuman.com/t/mind-map-tree-chart-implementation/13008/2 "2020-01-01T22:14:04Z")

</div>

Wow @Paul_Danyliuk! This is incredible!

You’re setting the bar pretty high for the start of the New Year!

---

<div class="post-metadata">

**Author:** ![Paul\_Danyliuk](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/paul_danyliuk/32/27228_2.png) [@Paul\_Danyliuk](https://connect.superhuman.com/u/Paul_Danyliuk)\
**Post date:** [January 1, 2020, 10:15pm UTC](https://connect.superhuman.com/t/mind-map-tree-chart-implementation/13008/3 "2020-01-01T22:15:17Z")

</div>

Thanks @Ben_Lee. I’d be surprised if you don’t have the “What Paul came up with this time” section in your weekly meetings agenda yet 😆

Just kidding. Happy New Year!

---

<div class="post-metadata">

**Author:** ![Jay\_Lefebvre](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/jay_lefebvre/32/9293_2.png) [@Jay\_Lefebvre](https://connect.superhuman.com/u/Jay_Lefebvre)\
**Post date:** [January 1, 2020, 10:51pm UTC](https://connect.superhuman.com/t/mind-map-tree-chart-implementation/13008/4 "2020-01-01T22:51:45Z")

</div>

HOLY SH\*T. Glad you were sober enough to do this ahah. This is insane. Thank you 🙏

---

<div class="post-metadata">

**Author:** ![Federico\_Stefanato](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/federico_stefanato/32/10092_2.png) [@Federico\_Stefanato](https://connect.superhuman.com/u/Federico_Stefanato)\
**Post date:** [January 1, 2020, 11:26pm UTC](https://connect.superhuman.com/t/mind-map-tree-chart-implementation/13008/5 "2020-01-01T23:26:32Z")

</div>

WOW @Paul_Danyliuk!  
Just wow.  
wow.

🔥

---

<div class="post-metadata">

**Author:** ![Krunal\_Sheth](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/krunal_sheth/32/5936_2.png) [@Krunal\_Sheth](https://connect.superhuman.com/u/Krunal_Sheth)\
**Post date:** [January 2, 2020, 12:08am UTC](https://connect.superhuman.com/t/mind-map-tree-chart-implementation/13008/6 "2020-01-02T00:08:03Z")

</div>

@Paul_Danyliuk you are aware of this right? 😉[https://coda.io/jobs](https://coda.io/jobs)

---

<div class="post-metadata">

**Author:** ![Jayson\_Moo-Young](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/jayson_moo-young/32/11416_2.png) [@Jayson\_Moo-Young](https://connect.superhuman.com/u/Jayson_Moo-Young)\
**Post date:** [January 2, 2020, 12:11am UTC](https://connect.superhuman.com/t/mind-map-tree-chart-implementation/13008/7 "2020-01-02T00:11:14Z")

</div>

Really glad guys like you are about, Paul. I’ve slept out and watched TV for the start of the New Year and got this gift for all my efforts.

---

<div class="post-metadata">

**Author:** ![Paul\_Danyliuk](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/paul_danyliuk/32/27228_2.png) [@Paul\_Danyliuk](https://connect.superhuman.com/u/Paul_Danyliuk)\
**Post date:** [January 2, 2020, 1:40pm UTC](https://connect.superhuman.com/t/mind-map-tree-chart-implementation/13008/8 "2020-01-02T13:40:05Z")

</div>

Haha @Krunal_Sheth yeah, but I’m done with coding and with full-time employment too (at least for now). Burned out as a coder long ago. Besides, tinkering with Coda is much more fun, and I still get to apply my skills like in this very trick 😉

What I’d really love though is to eventually come to the Bay Area for a week or two. Maybe speak at some no code conf about my Coda witchcraft. And also buy the laptop I want (the Surface) but cannot buy here — I didn’t win one in the Makers Fest, but I still need one 🙂

---

<div class="post-metadata">

**Author:** ![alden](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/alden/32/7604_2.png) [@alden](https://connect.superhuman.com/u/alden)\
**Post date:** [January 2, 2020, 4:56pm UTC](https://connect.superhuman.com/t/mind-map-tree-chart-implementation/13008/9 "2020-01-02T16:56:54Z")

</div>

This is seriously amazing 👏👏👏

Looking forward to following [codatricks.com](http://codatricks.com) in the new year.

---

<div class="post-metadata">

**Author:** ![Tony\_Creech](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/tony_creech/32/8459_2.png) [@Tony\_Creech](https://connect.superhuman.com/u/Tony_Creech)\
**Post date:** [January 6, 2020, 6:06pm UTC](https://connect.superhuman.com/t/mind-map-tree-chart-implementation/13008/10 "2020-01-06T18:06:52Z")

</div>

awesome! thanks much @Paul_Danyliuk

---

<div class="post-metadata">

**Author:** ![ABp](https://avatars.discourse-cdn.com/v4/letter/a/c67d28/32.png) [@ABp](https://connect.superhuman.com/u/ABp)\
**Post date:** [January 9, 2020, 8:18pm UTC](https://connect.superhuman.com/t/mind-map-tree-chart-implementation/13008/11 "2020-01-09T20:18:32Z")

</div>

hey @Paul_Danyliuk, great stuff here as always. Sorry if I am overly self-promoting here, but would love to get this native in Coda, and I just added some commentary to that effect over on the other MindMap thread:

> [@Addition of a Mind Map view](https://connect.superhuman.com/t/addition-of-a-mind-map-view/1213/15):
>
> Greetings. This is also a huge one for me. @Paul_Danyliuk that is amazing what you’ve come up with, as I thought there was no way to even do anything close to linked rows right now in Coda. However, that is far over my head, and although I have a colleague who’s a db expert working with me on my Coda set up, I think we’d get too bogged down trying to implement that as we have a lot of other configuration we are doing around Coda. So I’d like to simply add a vote and some reasoning behind get…

Unfortunately I don’t think my Coda abilities would allow me to use your solution without slipping up, but really amazing to see you can actually already do this in Coda. It is a huge item on my wish list!

Cheers!

---

<div class="post-metadata">

**Author:** ![Ludovic\_Claude](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/ludovic_claude/32/10532_2.png) [@Ludovic\_Claude](https://connect.superhuman.com/u/Ludovic_Claude)\
**Post date:** [January 14, 2020, 12:23pm UTC](https://connect.superhuman.com/t/mind-map-tree-chart-implementation/13008/12 "2020-01-14T12:23:07Z")

</div>

I have created this [Pack request: ObservableHQ](https://connect.superhuman.com/t/pack-request-observablehq/13222). With a good integration between Coda and Observable, we could extend Coda to include all kind of user generated visualisations, including Mind Map and without resorting to low level SVG trickery. Please vote for it!

---

<div class="post-metadata">

**Author:** ![Paul\_Danyliuk](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/paul_danyliuk/32/27228_2.png) [@Paul\_Danyliuk](https://connect.superhuman.com/u/Paul_Danyliuk)\
**Post date:** [January 14, 2020, 1:00pm UTC](https://connect.superhuman.com/t/mind-map-tree-chart-implementation/13008/13 "2020-01-14T13:00:28Z")

</div>

Looked at Observable — isn’t the idea is just that you can feed it HTML/JS (low level as well) to render inline? The D3 chart in [example](https://observablehq.com/@mbostock/embedded-notebook) is itself an iframe.

Wouldn’t it be better at this point to just ask Coda to support providing arbitrary HTML content within `Embed()` and not just URLs? Because embedding an Observable with embedded chart made out of arbitrary HTML content sounds like the same, only with extra steps

 ![image](https://global.discourse-cdn.com/coda1/original/2X/7/76e7432d5be97e92fff2b1042ecd32f24bd81313.jpeg)

That said, the tool looks awesome. But it doesn’t seem friendly towards non-devs: a certain level of JS knowledge is required to actually make something useful there.

P.S. I wish it was around / I knew about it when I was teaching CS basics at a local university. Much better to get students excited about coding with something visual like that rather than a boring console.

---

<div class="post-metadata">

**Author:** ![Ludovic\_Claude](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/ludovic_claude/32/10532_2.png) [@Ludovic\_Claude](https://connect.superhuman.com/u/Ludovic_Claude)\
**Post date:** [January 14, 2020, 10:10pm UTC](https://connect.superhuman.com/t/mind-map-tree-chart-implementation/13008/14 "2020-01-14T22:10:07Z")

</div>

Observable is 2 things: a javascript library that provides a notebook functionality & a collection of user-generated notebooks. If you look at [example #4](https://mathisonian.github.io/observable-idyll/), the integration can be really easy with a function. In Coda, it would look like:

```auto
= Observable(
  notebook:"https://beta.observablehq.com/@mathisonian/d3-change-line-chart",
  showCells:['chart', 'height']
  variables: @VariablesTable)

```

That’s quite friendly towards non-devs, as long as they can find the notebook they need, and Coda templates are a good fit for packaging all this configuration and more.

But in general, yes I would like also support for embedding arbitrary HTML with Embed(), that would ease some integrations.

---

<div class="post-metadata">

**Author:** ![ABp](https://avatars.discourse-cdn.com/v4/letter/a/c67d28/32.png) [@ABp](https://connect.superhuman.com/u/ABp)\
**Post date:** [January 14, 2020, 10:38pm UTC](https://connect.superhuman.com/t/mind-map-tree-chart-implementation/13008/15 "2020-01-14T22:38:29Z")

</div>

I would like to petition that Coda bring this in on its own, and not go for an integration, in particular after seeing what you already pulled off @Paul_Danyliuk above in this thread!

I think the proper tools in this context are not things with any strings whatsoever of formulas, code snippets, etc. for “non devs,” but stuff like [draw.io](http://draw.io), Lucidchart, Miro. As a non-dev myself, those are the tools I am going to consider for mindmapping initially outside Coda. Some task management apps that Coda can replace such as MindMeister and Zenkit also have mind mapping modules that literally do not require any capability with any formulas, functions, etc. In other words, true nocode!

So I would in fact no longer support this pack suggestion:

> [@Pack Request or Coda solution: Miro (Formerly Realtime Board) or other business model canvas](https://connect.superhuman.com/t/pack-request-or-coda-solution-miro-formerly-realtime-board-or-other-business-model-canvas/10412):
>
> While I could make sections for each of the components of the business model canvas, we immediately lose the high level visual element that gives it it’s success.

And rather see Coda devote time to its own solution here.

And let’s not forget that integrations, or packs, always have some overhead with the potential to break, and require a developer to get involved to figure out what happened!

Thanks guys!

---

<div class="post-metadata">

**Author:** ![Marta\_Oliveira](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/marta_oliveira/32/9002_2.png) [@Marta\_Oliveira](https://connect.superhuman.com/u/Marta_Oliveira)\
**Post date:** [March 2, 2020, 4:08pm UTC](https://connect.superhuman.com/t/mind-map-tree-chart-implementation/13008/16 "2020-03-02T16:08:08Z")

</div>

Hi @Paul_Danyliuk! This is really amazing!  
Any ideas on how to make a horizontal map (left to right)?

Thanks

---

<div class="post-metadata">

**Author:** ![Paul\_Danyliuk](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/paul_danyliuk/32/27228_2.png) [@Paul\_Danyliuk](https://connect.superhuman.com/u/Paul_Danyliuk)\
**Post date:** [March 2, 2020, 5:44pm UTC](https://connect.superhuman.com/t/mind-map-tree-chart-implementation/13008/17 "2020-03-02T17:44:08Z")

</div>

Thanks. I believe pretty much the same, just swap around x/y and width/height in a few places.

---

<div class="post-metadata">

**Author:** ![Marta\_Oliveira](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/marta_oliveira/32/9002_2.png) [@Marta\_Oliveira](https://connect.superhuman.com/u/Marta_Oliveira)\
**Post date:** [March 16, 2020, 6:44pm UTC](https://connect.superhuman.com/t/mind-map-tree-chart-implementation/13008/18 "2020-03-16T18:44:14Z")

</div>

Thanks Paul! I have looked but it’s too complex for me! Would you or anyone here be able to help with these?  
I would love to have this amazing mind map in a horizontal view.

Help anyone?  
Thanks in advance!

---

<div class="post-metadata">

**Author:** ![Paul\_Danyliuk](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/paul_danyliuk/32/27228_2.png) [@Paul\_Danyliuk](https://connect.superhuman.com/u/Paul_Danyliuk)\
**Post date:** [March 16, 2020, 7:19pm UTC](https://connect.superhuman.com/t/mind-map-tree-chart-implementation/13008/19 "2020-03-16T19:19:52Z")

</div>

I can help you with this tomorrow or someday this week (off the clock if it’s for personal matters). I believe we talked already (Value cases) 🙂

---

<div class="post-metadata">

**Author:** ![Marta\_Oliveira](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/marta_oliveira/32/9002_2.png) [@Marta\_Oliveira](https://connect.superhuman.com/u/Marta_Oliveira)\
**Post date:** [March 17, 2020, 11:32am UTC](https://connect.superhuman.com/t/mind-map-tree-chart-implementation/13008/20 "2020-03-17T11:32:12Z")

</div>

Hi Paul! Yes, we spoke before 🙂  
This would be for personal docs, and I think really useful for everyone in the community!  
Thanks for looking into this

[Next page](https://connect.superhuman.com/t/mind-map-tree-chart-implementation/13008.md?page=2)
