Optimizing table visualization