Skip to content

Commit f95b7ce

Browse files
committed
Update README
1 parent 95ebd4c commit f95b7ce

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,13 @@ In vanilla HTML, Plot can be imported as an ES module, say from Skypack:
4141
4242
import * as Plot from "https://cdn.skypack.dev/@observablehq/[email protected]";
4343
44-
document.body.appendChild(Plot.plot(options));
44+
document.body.append(Plot.plot(options));
4545
4646
</script>
4747
```
4848

49+
See also our [Plot + React example](https://github.com/observablehq/plot-create-react-app-example/blob/main/src/App.js).
50+
4951
Plot is also available as a UMD bundle for legacy browsers.
5052

5153
```html

0 commit comments

Comments
 (0)