Published
Edited
Apr 17, 2020
Importers
16 stars
Insert cell
Insert cell
viewof jsxExample = {
const value = `export default ({color}) => (
<div>
<p>Hello World</p>
</div>
)`
return codeView({mode: 'jsx', value})
}
Insert cell
html`The code is stored in the jsxExample variable and shown below. Edit the code above and the code below will be updated reactively.`
Insert cell
jsxExample
Insert cell
md`Here's a go example:`
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more