d3-grid
d3-grid copied to clipboard
Smarter cols/rows ratio
Currently, if .cols()
and .rows()
aren't set, the layout tries to create an equal amount of columns and rows. The cols/rows ratio should probably rather be an approximation of the width/height of the grid.
+1. That would allow us to avoid unbalanced results like this