None of this is production code, but me trying to figure out how to work multiple datasets into a Laravel project with chartjs. Here's my table schema
Schema::create('statistics', function (Blueprint $table) {
$table->increments('id')->unsigned();
$table->string('type');
$table->string('table');
$table->integer('count');
$table->timestamps();
});