HW Assign.
✓ Published0🌍 Public
LLisaPicado
Last edited Feb 20, 2017
Created on Feb 20, 2017
This visualization displays four genes as horizontal rectangles positioned along a genomic axis, with start and stop coordinates from a JSON dataset. Forward-oriented genes appear in green on one row, while reverse-oriented genes appear in red on a parallel row. The code loads data via d3.json, then creates SVG rectangles using d3.selectAll and .data().enter().append, with x and width attributes derived directly from each gene’s start and stop values, and fill color determined by orientation.
AI-generated descriptionBuilt with blockbuilder.org
mit Licensed