You can get attribute values of an element using the attr in jquery like
$('.home').on('click', function() {
var d = $(this).attr('data-datac');
alert(d);
});
F.Y.I
If you will use id's as selector you can only get one element while on a class you can get reference all the elements containing that class