Update README.md

Use `data` instead of `attr` in the examples