D3 provides a seris of useful helper methods for data visualization, such as axisBottom
or axisLeft
.
This is an example of a histogram of letter frequency, taken from http://bl.ocks.org/mbostock/3885304. The
This code block is preceded by initialization code that defines parent
, svg
, margin
, width
, & height
.