How are graphs used to represent data?