block by micahstubbs d393bcfde0228430c00b

data-driven dropdown

Full Screen

#data-driven dropdown

A simple d3js component that generates html <select></select> and <option></option> elements from data.

Sharing this in hopes that seeing the pattern in isolation with simple data makes it easier to add this functionality to your d3js project.

index.html