Illustrating how data can be used with d3