small update to datagraph code for home page