Skip to main content
100%

simple genome map

✓ Published0🌍 Public
LLisaPicado
Last edited Feb 21, 2017
Created on Feb 21, 2017

This example presents a simple genome map, visualizing four genes as horizontal bars positioned along a linear sequence. Each gene is rendered as a colored rectangle, with green indicating forward orientation and red indicating reverse orientation, and is labeled with its name. The code loads data from a JSON file using `d3.json` and creates SVG groups for each gene. Using `transition()`, the bars animate from a starting offset to their final positions, with delays tied to each gene's start coordinate, illustrating the relative locations of genetic features.

AI-generated description

Built with blockbuilder.org

forked from <a href='http://bl.ocks.org/scresawn/'>scresawn</a>'s block: <a href='http://bl.ocks.org/scresawn/ec90702f0e132dc4516c0d483c9f7030'>simple genome map</a>

mit Licensed

Similar vizzes