generate dynamic table with svg