<｜begin▁of▁sentence｜>### Instruction:
Given a simple undirected graph where an edge exists between nodes 'A' and 'B' with an attribute 'weight' set to 5, can you demonstrate how to access and display this edge's data using NetworkX's AtlasView?
### Response:
import networkx as nx

# Create a graph
G = nx.Graph()
G.add_edge('A', 'B', weight=5)

# Access the AtlasView of the graph
atlas = G.adj

# Display edge data using the AtlasView
e_data = atlas['A']['B']
print('Edge data between A and B:', e_data)
<|EOT|>
