basic html stucture
basic rect

function(d, i): d is the data from the dataset, i is the index