Skip to main content
100%

Bar Chart

✓ Published0🌍 Public
WWanagram
Last edited Feb 4, 2016
Created on Feb 4, 2016

This bar chart displays the frequency of each letter in the English alphabet, sorted alphabetically along the x-axis with percentage values on the y-axis. The data comes from a TSV file and is rendered as SVG rectangles that turn brown on hover. The code uses d3.tsv for parsing, d3.scale.ordinal for x-position, d3.scale.linear for y-scaling, d3.max for domain computation, and d3.svg.axis for both axes, with d3.format applied to the y-axis ticks for percentage display.

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>

Similar vizzes