Graphs solutions using PHP and CSS