Bar Chart
This bar chart displays the frequency of each letter in the English language, using violet bars that turn pink on hover. Percentages appear on the y-axis, letter labels on the x-axis, and a rotated "Frequency" label for the y-axis. The chart loads data from a TSV file via `d3.tsv`, and encodes positions with `d3.scale.ordinal` and `d3.scale.linear`, while axes are rendered using `d3.svg.axis` and formatting via `d3.format`. The visualization is rendered as SVG.
AI-generated descriptionThis 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:
- d3.tsv - load and parse data
- d3.format - format percentages
- d3.scale.ordinal - x-position encoding
- d3.scale.linear - y-position encoding
- d3.max - compute domains
- d3.svg.axis - display axes
forked from <a href='http://bl.ocks.org/mbostock/'>mbostock</a>'s block: <a href='http://bl.ocks.org/mbostock/3885304'>Bar Chart</a>