Creating a proportional dot graph: grouping data

here’s a suggestion:
Plot.dot(hipHop, Plot.groupX({r:“count”}, {x: “date”})).plot({x: {type:“linear”}})

also, instead of the deprecated d3.nest, you could use d3.group(hipHop, d => d.date)