Skip to main content
100%

Gene Map

✓ Published0🌍 Public
GGeneExplorer
Last edited Feb 18, 2017
Created on Feb 18, 2017

This gene map visualizes four genes as directional arrows, with forward genes in blue and reverse genes in red, scaled by their start and stop positions from a local data.json file. Each arrow’s shape encodes orientation via a seven-point polygon, and hovering highlights the polygon, label, or tick marks with colored strokes. The code uses D3 v4 to append SVG elements—specifically `d3.select`, `d3.json`, and `svg.append("polygon")`—along with custom `GeneArrow` constructors and `Point` objects to compute geometry and tooltips.

AI-generated description

Built with blockbuilder.org

mit Licensed

Similar vizzes