This post describes how to build a scatter plot with tooltips in d3.js. Note that if you don't know anything about tooltips, you probably see the dedicated page of the gallery that will lead you through the basics of this technique.
The gallery has a dedicated page for tooltips. It also offer explanation for the most basic scatterplot. This post is just a combination of both techniques.
Tooltips do no work very well when dots are overlapping. We probably need to add a zoom feature to this chart.