made visualizations work with new json