Skip to main content
100%

Genes

✓ Published0🌍 Public
Aalexhoke
Last edited Feb 1, 2018
Created on Feb 1, 2018

This visualization displays a set of genes as colored rectangles along a horizontal axis, with each gene’s position defined by its start and end coordinates and its direction indicated by the rectangle’s orientation. It uses D3.js v4 with SVG rendering, binding the `genes` array to `rect` elements via `svg.selectAll("rect").data(genes).enter().append("rect")`. The rectangles are positioned at a fixed y-coordinate, with height 50, and use the `fill` property for color while black strokes outline each gene.

AI-generated description

Built with blockbuilder.org

mit Licensed

Similar vizzes