This example is a slight modification from Mike Bostock's bar chart example.
d3Kit was used to construct the <svg>
and setup all the margins.
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:
Modified http://d3js.org/d3.v3.min.js to a secure url
Updated missing url https://rawgit.com/kristw/75b61f9beeab9b530612/raw/389e984e4041117a9185cf6edad9f6b85a38097a/d3kit.min.js to https://cdn.jsdelivr.net/gh/kristw/75b61f9beeab9b530612/raw/389e984e4041117a9185cf6edad9f6b85a38097a/d3kit.min.js
https://d3js.org/d3.v3.min.js
https://rawgit.com/kristw/75b61f9beeab9b530612/raw/389e984e4041117a9185cf6edad9f6b85a38097a/d3kit.min.js