Skip to main content
100%

genome browser

✓ Published0🌍 Public
SSmith5mr
Last edited Feb 23, 2016
Created on Feb 23, 2016

This example displays a linear genome track with ruler tick marks at 1000, 500, and 100 base-pair intervals. The SVG is drawn with D3.js, using a white rectangle for the genome and black tick marks of varying heights. The code calculates tick positions by iterating over the genome length and applying modulo operations. Animations transition the tick marks into place using D3's `.transition().duration()` API, with the underlying gene data provided in a simple JavaScript array.

AI-generated description

Genome 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>

Similar vizzes