Published
Edited
Nov 17, 2019
Insert cell
Insert cell
root = html`<div id="root"></div>`
Insert cell
ReactDOM.render(htm`<p>Hello</p>`, root)
Insert cell
Insert cell
{
const root = html`<div></div>`;
const myelement = htm`
<table>
<tr>
<th>Name</th>
</tr>
<tr>
<td>John</td>
</tr>
<tr>
<td>Elsa</td>
</tr>
</table>
`;

ReactDOM.render(myelement, root);
return root;
}
Insert cell
import {htm, React, ReactDOM, d3} from "@embracelife/tutorial-utilities"
Insert cell

One platform to build and deploy the best data apps

Experiment and prototype by building visualizations in live JavaScript notebooks. Collaborate with your team and decide which concepts to build out.
Use Observable Framework to build data apps locally. Use data loaders to build in any language or library, including Python, SQL, and R.
Seamlessly deploy to Observable. Test before you ship, use automatic deploy-on-commit, and ensure your projects are always up-to-date.
Learn more