move d3 to demo
add button for manual
auto
improvements