Skip to main content
100%

Bar Chart: stripped easier

✓ Published0🌍 Public
BBeaupe
Last edited Nov 7, 2015
Created on Nov 7, 2015

This bar chart displays the frequency of letters in the English language, with each letter represented as a steelblue bar that turns brown on hover. The chart loads data from a TSV file using `d3.tsv`, parses the frequency values, and encodes the x-position with `d3.scale.ordinal` and the y-position with `d3.scale.linear`. Axes are rendered via `d3.svg.axis`, and the domains are computed using `d3.max`. The SVG output uses conventional margins and a 10px sans-serif font for the axis labels.

AI-generated description

This simple bar chart is constructed from a TSV file storing the frequency of letters in the English language. The chart employs conventional margins and a number of D3 features:

forked from <a href='http://bl.ocks.org/mbostock/'>mbostock</a>'s block: <a href='http://bl.ocks.org/mbostock/3885304'>Bar Chart</a>

forked from <a href='http://bl.ocks.org/zanarmstrong/'>zanarmstrong</a>'s block: <a href='http://bl.ocks.org/zanarmstrong/56aa8232fb56247094ae'>Bar Chart: stripped easier</a>

Similar vizzes