Black Lives Matter. Please consider donating to Black Girls Code today.
Dash HoloViews is now available! Check out the docs.

What is a trace?

This is one of the fundamental concepts of dash and plotly and im trying to get it right, can someone pls explain in layman’s terms what this notion of a ‘trace’ is?? Does a trace represent a certain dataset? In the context of a pie chart, how would you use traces?
thank you

From the Plotly website:

“A trace is just the name we give a collection of data and the specifications of which we want that data plotted. Notice that a trace will also be an object itself, and these will be named according to how you want the data displayed on the plotting surface.”

1 Like