Visualize a simple voxelgrid

Hi there! I want to create a simple voxelgrid of 8 voxels (2x2x2) and save it to a file so Kaolin Dataset Visualizer can properly display it. Help me with the code, please. I read the documentation but there is not full explanation on voxels