Reimplemented loading status indicator using d3's methods