gerating svg from data