Skip to content

Commit

Permalink
fix sandbox-n
Browse files Browse the repository at this point in the history
  • Loading branch information
holtzy committed Jun 15, 2023
1 parent c5222b5 commit 9f5049f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pages/hierarchical-edge-bundling.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ export default function Home() {
VizComponent={HierarchicalEdgeBundlingBasicDemo}
maxWidth={600}
height={600}
caption="A first hierarchical edge bundling chart."
caption="A first hierarchical edge bundling chart made with d3 and react."
/>
{/*
//
Expand Down
7 changes: 5 additions & 2 deletions viz/HierarchicalEdgeBundlingBasic.tsx/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
import ReactDOM from "react-dom";
import { data } from "./data";
import { Treemap } from "./Treemap";
import { HierarchicalEdgeBundling } from "./HierarchicalEdgeBundling";

const rootElement = document.getElementById("root");

ReactDOM.render(<Treemap data={data} width={400} height={400} />, rootElement);
ReactDOM.render(
<HierarchicalEdgeBundling data={data} width={600} height={600} />,
rootElement
);

0 comments on commit 9f5049f

Please sign in to comment.