Skip to content

Commit 67092cc

Browse files
committed
Added chart for gender distribution
1 parent 41eccb7 commit 67092cc

File tree

4 files changed

+343
-4
lines changed

4 files changed

+343
-4
lines changed

package-lock.json

Lines changed: 288 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
"react-dom": "^18.3.1",
1919
"react-router-dom": "^6.26.2",
2020
"react-scripts": "5.0.1",
21+
"recharts": "^2.12.7",
2122
"web-vitals": "^2.1.4"
2223
},
2324
"scripts": {

src/App.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
import React from 'react';
22
import './App.css';
33
import DataList from './Components/DataList';
4+
import GenderChart from './Components/GenderChart';
45

56
function App() {
67
return (
78
<div className="App">
89
<header className="App-header">
9-
<p>
10-
Edit <code>src/App.js</code> and save to reload.
11-
</p>
12-
<DataList />
10+
11+
{/*<DataList /> */}
12+
<GenderChart />
1313
</header>
1414
</div>
1515
);

0 commit comments

Comments
 (0)