Implemented examples using new vega-charts library and removed old code that was migrated there.