-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpage.tsx
More file actions
37 lines (34 loc) · 1 KB
/
page.tsx
File metadata and controls
37 lines (34 loc) · 1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
"use client";
import { css } from "@emotion/react";
import MovieBarChart from "./barchart/MovieBarChart";
import DistributorPieChart from "./piechart/DistributorPieChart";
import GenreTrendsChart from "./bumpchart/GenreTrendsChart";
import AudienceBarChart from "./barchart/AudienceBarChart";
const titleStyle = css`
text-align: center;
margin-top: 150px;
`;
const containerStyle = css`
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
`;
export default function Visualize() {
return (
<div>
{
<div css={containerStyle}>
<h2 css={titleStyle}>한국 영화 역대 관객수 TOP 10</h2>{" "}
<MovieBarChart />
<h2 css={titleStyle}>배급사별 천만 영화 갯수</h2>
<DistributorPieChart />
<h2 css={titleStyle}>연도별 장르 개봉 횟수</h2>
<GenreTrendsChart />
<h2 css={titleStyle}>연도별 관객수</h2>
<AudienceBarChart />
</div>
}
</div>
);
}