Dotplot histogram: a series of individual circles is appended in place of the "bar" to directly show the number of elements in the bin (avoiding the need for a y scale).
There are two "layers" of enter/update/exit, one for the g elements representing each bin, and one for the circles attached to each bin g element.
This plot was developped for an in-class activity with the UCLA students taking the STATS13 resampling statistics class at UCLA. Each student was entering their value in an associated Google spreadsheet (the Tabletop.js syntax to fetch the data from the Google spreadsheet has been replaced by d3.csv
/d3.shuffle(data).slice
combo in this example, to simulate the data being changed as the students enter new values).
A tooltip with information about the selected dot appear when hovering a circle.
https://d3js.org/d3.v4.min.js