-
On load, web application will request data from GraphQl API's
disease
endpoint -
Sort the data in descending order per score.
-
Pick top 10 items from sorted array.
-
Pass The shortlisted array to table component.
-
Table component will contain cell components to display the data.
-
Table will contain 4 columns components:
Accordion button
,Approved Symbol
,Gene Name
,Overall Score
. -
Accordion button
- Type: button Component.
- Click: onclick it toggles show/hide a tab component containing graphs components.
- Display Condition: Hide this component of there is no graph data for particular row.
-
Approved Symbol
- Type: Hyper Link Component.
- Click: On click of it redirects to details page for that row.
-
Gene Name
: Contains Name of gene label. -
Overall Score
: Contains over all association score label. -
Tab Component
contains 2 tabs:Bar Chart
&Radar Chart
. -
Every row will display graphical visualization in 2 formats:
Bar Chart
andRadar Chart
. Switching tabs will switch between display types.
git clone https://github.com/chinmehta/embl-disease-visualization.git
cd embl-disease-visualization
npm install
npm start
Project should automatically be launched here