genome browser
This genome browser visualizes gene annotations along a linear genome, using an animated D3.js layout to reveal gene positions, directions, and associated pham identifiers. The example loads gene data from a JSON file and renders each gene as a colored rectangle—green for forward direction and red for reverse—on a track with tick marks every 1000 bases. The initial view places genes off-screen, then transitions them into position over 1.5 seconds, with gene and pham labels fading in afterward. The code uses D3's `selection.transition` for animations and SVG for rendering, with tick marks generated from computed genome positions.
AI-generated descriptionGenome browser for phamerator.org
forked from <a href='http://bl.ocks.org/scresawn/'>scresawn</a>'s block: <a href='http://bl.ocks.org/scresawn/b8a8fcb885b6840bfde5'>genome browser</a>