File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -46,20 +46,20 @@ document.body.append(Plot.plot(options));
46
46
</script >
47
47
```
48
48
49
- See also our [ Plot + React example] ( https://github.com/observablehq/plot-create-react-app-example/blob/main/src/App.js ) .
50
-
51
49
Plot is also available as a UMD bundle for legacy browsers.
52
50
53
51
``` html
54
52
<script src =" https://cdn.jsdelivr.net/npm/d3@7" ></script >
55
53
<
script src =
" https://cdn.jsdelivr.net/npm/@observablehq/[email protected] " ></
script >
56
54
<script >
57
55
58
- document .body .appendChild (Plot .plot (options));
56
+ document .body .append (Plot .plot (options));
59
57
60
58
</script >
61
59
```
62
60
61
+ See also our [ Plot + React example] ( https://github.com/observablehq/plot-create-react-app-example/blob/main/src/App.js ) .
62
+
63
63
## Plot.plot(* options* )
64
64
65
65
Renders a new plot given the specified * options* and returns the corresponding SVG or HTML figure element. All * options* are optional.
You can’t perform that action at this time.
0 commit comments