Bar Chart
✓ Published0🌍 Public
SSmith5mr
Last edited Feb 4, 2016
Created on Feb 4, 2016
A bar chart displays the frequency of each letter in the English language, using a TSV data file. The bars are colored steelblue and turn brown on hover, with axes labeled to show the frequency percentage. The visualization is rendered as SVG using D3, and demonstrates the use of `d3.tsv` for data loading, `d3.scale.ordinal` and `d3.scale.linear` for positioning, `d3.svg.axis` for axes, and `d3.max` for domain computation.
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>