Add Ethics Bar Chart
This commit is contained in:
parent
053b0366f8
commit
bb6eb3539b
2 changed files with 127 additions and 1 deletions
app
|
@ -4,6 +4,7 @@ import {RadarChart} from '../components/charts/radar'
|
|||
import {EmpireStats} from '../components/tables/empires'
|
||||
import { Checkbox } from '@nextui-org/react';
|
||||
import { PopChart } from '@/components/charts/pops';
|
||||
import { EthicsBar } from '../components/charts/ethicsBar';
|
||||
|
||||
export default function Home() {
|
||||
const [weighted, setWeighted] = useState(true);
|
||||
|
@ -15,7 +16,10 @@ export default function Home() {
|
|||
<EmpireStats />
|
||||
<Checkbox labelColor="primary" defaultSelected={weighted} onChange={() => setWeighted(!weighted)}>Weighted Ethics</Checkbox>
|
||||
</div>
|
||||
<PopChart></PopChart>
|
||||
<div className='flex flex-col justify-around h-full'>
|
||||
<PopChart></PopChart>
|
||||
<EthicsBar></EthicsBar>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
|
Reference in a new issue