Skip to main content
100%

Hello Lea (MAVO and D3 interaction)

✓ Published0🌍 Public
PPhilippe Rivière
Last edited May 17, 2017
Created on May 16, 2017

This example demonstrates interoperability between the Mavo content editor and D3.js. It shows how D3 can read and display data that is stored and editable through Mavo’s HTML storage. The code uses a Mavo `mv-app` element with a `#data` storage block containing JSON, and D3’s `d3.interval` function repeatedly reads that JSON via `d3.select` to update a paragraph’s text. The result is a live greeting that changes when the user edits the name in the Mavo interface.

AI-generated description

Testing interaction between MAVO and D3.

mit Licensed

Similar vizzes