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:
- d3.tsv - load and parse data
- d3.format - format percentages
- d3.scaleBand - x-position encoding
- d3.scaleLinear - y-position encoding
- d3.max - compute domains
- d3.axis - display axes
This chart adds nothing additional to the original Bar Chart by mbostock, it is just a port to d3v4.