Skip to main content
100%

1. horizontal barChart

✓ Published0🌍 Public
深深度碎片
Last edited Aug 1, 2016
Created on Jul 15, 2016

A horizontal bar chart displays six name–value pairs from a tab-separated data file, with steelblue bars and white value labels positioned at each bar’s end. The D3 v4 code uses `d3.tsv` with a row function to parse numeric values, `d3.scaleLinear` to map data to pixel widths, and SVG `rect` and `text` elements appended to translated `g` groups. The chart height is calculated from the data length and a fixed bar height.

AI-generated description

Built with blockbuilder.org

gpl-3.0 Licensed

Similar vizzes