Skip to content

Commit

Permalink
fix sandbox
Browse files Browse the repository at this point in the history
  • Loading branch information
holtzy committed Mar 25, 2024
1 parent f219d90 commit 65da8a4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion pages/example/timeseries-moving-average.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const graphDescription = (
With readily available code and straightforward explanations, you'll
witness the prowess of React in seamlessly stacking multiple layers of
rendering – from <Link href="/scatter-plot">scatterplots</Link> to{' '}
<Link href="/line-chart">line charts</Link> and annotations."
<Link href="/line-chart">line charts</Link> and annotations.
</p>
</>
);
Expand Down
13 changes: 8 additions & 5 deletions viz/ScatterplotCheryTrees/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
import ReactDOM from "react-dom";
import { data } from "./data";
import { Scatterplot } from "./Scatterplot";
import ReactDOM from 'react-dom';
import { data } from './data';
import { ScatterplotCheryTreesDemo } from './ScatterplotCheryTreesDemo';

const rootElement = document.getElementById("root");
ReactDOM.render(<Scatterplot data={data} width={400} height={400} />, rootElement);
const rootElement = document.getElementById('root');
ReactDOM.render(
<ScatterplotCheryTreesDemo data={data} width={600} height={500} />,
rootElement
);

0 comments on commit 65da8a4

Please sign in to comment.