fresh block
✓ Published0🌍 Public
TTylerVaughan
Last edited Mar 13, 2018
Created on Mar 13, 2018
This example uses D3 v4 to render a histogram of contig lengths from a FASTA file. The code parses sequence headers with a custom delimiter, extracts the length values from each node, and displays the distribution as steel-blue bars with red count labels on top. An x-axis with linear scaling shows the range of contig lengths, while the histogram bins are generated using d3.histogram with thresholds calculated from the maximum length. The visualization is rendered in SVG and includes a formatted count above each bar, omitting labels for empty bins.
AI-generated descriptionBuilt with blockbuilder.org
mit Licensed