Ebenezer's VizHub Assignment
This bar chart displays the median PTEN gene expression across various human tissues, with each bar color-coded by tissue type based on a tissue_info.json file. The visualization aggregates individual sample measurements from a gene expression JSON file, calculating the median expression per tissue using `d3.median`. Users can sort the bars alphabetically or by descending median value through `sortEntries`. The SVG chart is rendered using `d3.scaleBand` and `d3.scaleLinear`, with axes generated via `d3.axisBottom` and `d3.axisLeft`.
AI-generated descriptionThis bar chart shows the gene expression for a gene based on a JSON file
It takes as input two json files (a gene_expression file and a tissue_info file)
The bar chart could be color coded based on the user's input The bar chart can be sorted alphabetically (ascending) or by median value (descending)
The entry point for this application is the index.js file