<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">
import plotly.express as px

# Sample data
data = {
	'id': ["A", "B", "C", "D", "E", "F", "G"],
	'parent': ["", "A", "A", "B", "B", "C", "D"], 
	'value': [10, 15, 7, 8, 12, 6, 5],
}

# Create a sunburst chart
fig = px.sunburst(data, names='id', parents='parent', values='value')

# Set the chart title
fig.update_layout(title_text="Sunburst Chart")

# Show the chart
#fig.write_image("sunburst.png")
fig.show()
</pre></body></html>