Skip to content

Commit 5b8b227

Browse files
committed
Update README
1 parent f95b7ce commit 5b8b227

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,20 +46,20 @@ document.body.append(Plot.plot(options));
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-
5149
Plot is also available as a UMD bundle for legacy browsers.
5250

5351
```html
5452
<script src="https://cdn.jsdelivr.net/npm/d3@7"></script>
5553
<script src="https://cdn.jsdelivr.net/npm/@observablehq/[email protected]"></script>
5654
<script>
5755
58-
document.body.appendChild(Plot.plot(options));
56+
document.body.append(Plot.plot(options));
5957
6058
</script>
6159
```
6260

61+
See also our [Plot + React example](https://github.com/observablehq/plot-create-react-app-example/blob/main/src/App.js).
62+
6363
## Plot.plot(*options*)
6464

6565
Renders a new plot given the specified *options* and returns the corresponding SVG or HTML figure element. All *options* are optional.

0 commit comments

Comments
 (0)