Adapted for single or list visualization - see demo code