Changes from using divs to svg for data