Skip to main content
100%

genome browser

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

This example shows a simple genome browser that visualizes a linear genome sequence with tick marks at various intervals, using an animated SVG rendering. The code uses D3.js to create a white rectangle representing the genome and then appends three groups of tick marks for every thousand, five hundred, and one hundred base pairs, each with a distinct transition duration to animate their appearance. The tick marks are positioned by dividing the genomic coordinate by 10, scaling the genome length of 7,800 base pairs to fit a 780-pixel-wide SVG. The data is generated programmatically in JavaScript, iterating over all positions to classify them into the three tick categories.

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