|
|
|
@ -1,6 +1,5 @@ |
|
|
|
|
import { mockPieData } from "data/mocks"; |
|
|
|
|
import { BarGraphHorizontal, BarGraphVertical } from "components/BarGraph"; |
|
|
|
|
import { mockCategoricalData } from "data/mocks"; |
|
|
|
|
import { mockPieData, mockCategoricalData } from "data/mocks"; |
|
|
|
|
import React from "react"; |
|
|
|
|
|
|
|
|
|
import { PieChart } from "@/components/PieChart"; |
|
|
|
@ -14,6 +13,9 @@ export default function Home() { |
|
|
|
|
<div className={styles.page}> |
|
|
|
|
<h1>Playground</h1> |
|
|
|
|
<p>Show off your components here!</p> |
|
|
|
|
<h2> |
|
|
|
|
<code>{"<PieChart />"}</code> |
|
|
|
|
</h2> |
|
|
|
|
<div style={{ padding: "30px" }}> |
|
|
|
|
<PieChart data={mockPieData} width={800} labelWidth={215} /> |
|
|
|
|
</div> |
|
|
|
|